From 15e9fcd961f93552a44bc462b8eeead47a159ab8 Mon Sep 17 00:00:00 2001 From: Adam Stephens Date: Wed, 31 Jul 2024 23:28:40 -0400 Subject: [PATCH] workflows/*: ensure jobs have names --- .github/workflows/basic-eval.yml | 1 + .github/workflows/check-by-name.yml | 1 + .github/workflows/check-cherry-picks.yml | 1 + .github/workflows/check-maintainers-sorted.yaml | 1 + .github/workflows/check-nix-format.yml | 1 + .github/workflows/check-nixf-tidy.yml | 1 + .github/workflows/check-shell.yml | 2 ++ .github/workflows/editorconfig.yml | 1 + .github/workflows/labels.yml | 1 + .github/workflows/manual-nixos.yml | 1 + .github/workflows/manual-nixpkgs.yml | 1 + .github/workflows/nix-parse.yml | 1 + .github/workflows/ofborg-pending.yml | 1 + 13 files changed, 14 insertions(+) diff --git a/.github/workflows/basic-eval.yml b/.github/workflows/basic-eval.yml index f3c67533fb82..fc7df3a1aa8d 100644 --- a/.github/workflows/basic-eval.yml +++ b/.github/workflows/basic-eval.yml @@ -15,6 +15,7 @@ permissions: jobs: tests: + name: basic-eval-checks runs-on: ubuntu-latest # we don't limit this action to only NixOS repo since the checks are cheap and useful developer feedback steps: diff --git a/.github/workflows/check-by-name.yml b/.github/workflows/check-by-name.yml index f9d1846c8798..34c9e0632b5e 100644 --- a/.github/workflows/check-by-name.yml +++ b/.github/workflows/check-by-name.yml @@ -27,6 +27,7 @@ permissions: {} jobs: check: + name: pkgs-by-name-check # This needs to be x86_64-linux, because we depend on the tooling being pre-built in the GitHub releases runs-on: ubuntu-latest # This should take 1 minute at most, but let's be generous. diff --git a/.github/workflows/check-cherry-picks.yml b/.github/workflows/check-cherry-picks.yml index eb93d3f98d8f..15fc04034612 100644 --- a/.github/workflows/check-cherry-picks.yml +++ b/.github/workflows/check-cherry-picks.yml @@ -10,6 +10,7 @@ permissions: {} jobs: check: + name: cherry-pick-check runs-on: ubuntu-latest if: github.repository_owner == 'NixOS' steps: diff --git a/.github/workflows/check-maintainers-sorted.yaml b/.github/workflows/check-maintainers-sorted.yaml index e9883d313b2c..f9e744a6a0c5 100644 --- a/.github/workflows/check-maintainers-sorted.yaml +++ b/.github/workflows/check-maintainers-sorted.yaml @@ -9,6 +9,7 @@ permissions: jobs: nixos: + name: maintainer-list-check runs-on: ubuntu-latest if: github.repository_owner == 'NixOS' steps: diff --git a/.github/workflows/check-nix-format.yml b/.github/workflows/check-nix-format.yml index eed685946c3b..614de43832a5 100644 --- a/.github/workflows/check-nix-format.yml +++ b/.github/workflows/check-nix-format.yml @@ -14,6 +14,7 @@ permissions: jobs: nixos: + name: nixfmt-check runs-on: ubuntu-latest if: "!contains(github.event.pull_request.title, '[skip treewide]')" steps: diff --git a/.github/workflows/check-nixf-tidy.yml b/.github/workflows/check-nixf-tidy.yml index 5a8fdbc96248..a3f37d8131c8 100644 --- a/.github/workflows/check-nixf-tidy.yml +++ b/.github/workflows/check-nixf-tidy.yml @@ -8,6 +8,7 @@ permissions: jobs: nixos: + name: exp-nixf-tidy-check runs-on: ubuntu-latest if: "!contains(github.event.pull_request.title, '[skip treewide]')" steps: diff --git a/.github/workflows/check-shell.yml b/.github/workflows/check-shell.yml index b20c7581cf39..0ecc3b0c7baf 100644 --- a/.github/workflows/check-shell.yml +++ b/.github/workflows/check-shell.yml @@ -7,6 +7,7 @@ permissions: {} jobs: x86_64-linux: + name: shell-check-x86_64-linux runs-on: ubuntu-latest steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 @@ -18,6 +19,7 @@ jobs: run: nix-build shell.nix aarch64-darwin: + name: shell-check-aarch64-darwin runs-on: macos-latest steps: - uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 diff --git a/.github/workflows/editorconfig.yml b/.github/workflows/editorconfig.yml index a7a0f81dbc09..26530f30f468 100644 --- a/.github/workflows/editorconfig.yml +++ b/.github/workflows/editorconfig.yml @@ -10,6 +10,7 @@ on: jobs: tests: + name: editorconfig-check runs-on: ubuntu-latest if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')" steps: diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index 2912e64c115b..724164bebdfc 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -15,6 +15,7 @@ permissions: jobs: labels: + name: label-pr runs-on: ubuntu-latest if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')" steps: diff --git a/.github/workflows/manual-nixos.yml b/.github/workflows/manual-nixos.yml index fa433f36e2c9..002d44c8797d 100644 --- a/.github/workflows/manual-nixos.yml +++ b/.github/workflows/manual-nixos.yml @@ -11,6 +11,7 @@ on: jobs: nixos: + name: nixos-manual-build runs-on: ubuntu-latest if: github.repository_owner == 'NixOS' steps: diff --git a/.github/workflows/manual-nixpkgs.yml b/.github/workflows/manual-nixpkgs.yml index 8e245ad3d05a..00e84854495a 100644 --- a/.github/workflows/manual-nixpkgs.yml +++ b/.github/workflows/manual-nixpkgs.yml @@ -13,6 +13,7 @@ on: jobs: nixpkgs: + name: nixpkgs-manual-build runs-on: ubuntu-latest if: github.repository_owner == 'NixOS' steps: diff --git a/.github/workflows/nix-parse.yml b/.github/workflows/nix-parse.yml index 5842d72c8f6a..7f55322d85e6 100644 --- a/.github/workflows/nix-parse.yml +++ b/.github/workflows/nix-parse.yml @@ -10,6 +10,7 @@ on: jobs: tests: + name: nix-files-parseable-check runs-on: ubuntu-latest if: "github.repository_owner == 'NixOS' && !contains(github.event.pull_request.title, '[skip treewide]')" steps: diff --git a/.github/workflows/ofborg-pending.yml b/.github/workflows/ofborg-pending.yml index b5e0a7c46c8c..2eba88598d7f 100644 --- a/.github/workflows/ofborg-pending.yml +++ b/.github/workflows/ofborg-pending.yml @@ -16,6 +16,7 @@ permissions: jobs: action: + name: set-ofborg-pending if: github.repository_owner == 'NixOS' permissions: statuses: write