workflows/eval: use consistent naming with the other 3 PR workflows

The overall idea is to use names short enough to fit into the status
checks list without shortening. This change mostly happened in the
commits before, here we just follow the same pattern for the remaining
workflows.
This commit is contained in:
Wolfgang Walther
2025-05-30 18:29:13 +02:00
parent 008527d7cd
commit c08b86e962
3 changed files with 6 additions and 10 deletions

View File

@@ -14,7 +14,6 @@ defaults:
jobs: jobs:
prepare: prepare:
name: Prepare
runs-on: ubuntu-24.04-arm runs-on: ubuntu-24.04-arm
outputs: outputs:
mergedSha: ${{ steps.get-merge-commit.outputs.mergedSha }} mergedSha: ${{ steps.get-merge-commit.outputs.mergedSha }}
@@ -35,14 +34,14 @@ jobs:
run: | run: |
echo "systems=$(jq -c <ci/supportedSystems.json)" >> "$GITHUB_OUTPUT" echo "systems=$(jq -c <ci/supportedSystems.json)" >> "$GITHUB_OUTPUT"
outpaths: eval:
name: Outpaths
runs-on: ubuntu-24.04-arm runs-on: ubuntu-24.04-arm
needs: [prepare] needs: [prepare]
strategy: strategy:
fail-fast: false fail-fast: false
matrix: matrix:
system: ${{ fromJSON(needs.prepare.outputs.systems) }} system: ${{ fromJSON(needs.prepare.outputs.systems) }}
name: ${{ matrix.system }}
steps: steps:
- name: Enable swap - name: Enable swap
run: | run: |
@@ -147,9 +146,8 @@ jobs:
path: diff/* path: diff/*
compare: compare:
name: Comparison
runs-on: ubuntu-24.04-arm runs-on: ubuntu-24.04-arm
needs: [prepare, outpaths] needs: [prepare, eval]
if: needs.prepare.outputs.targetSha if: needs.prepare.outputs.targetSha
permissions: permissions:
issues: write # needed to create *new* labels issues: write # needed to create *new* labels
@@ -248,7 +246,7 @@ jobs:
# No dependency on "compare", so that it can start at the same time. # No dependency on "compare", so that it can start at the same time.
# We only wait for the "comparison" artifact to be available, which makes the start-to-finish time # We only wait for the "comparison" artifact to be available, which makes the start-to-finish time
# for the eval workflow considerably faster. # for the eval workflow considerably faster.
needs: [prepare, outpaths] needs: [prepare, eval]
if: needs.prepare.outputs.targetSha if: needs.prepare.outputs.targetSha
uses: ./.github/workflows/reviewers.yml uses: ./.github/workflows/reviewers.yml
secrets: secrets:

View File

@@ -3,7 +3,7 @@
# access to the GitHub API. This means that it should not evaluate user input in # access to the GitHub API. This means that it should not evaluate user input in
# a way that allows code injection. # a way that allows code injection.
name: "Label PR" name: Labels
on: on:
schedule: schedule:
@@ -33,8 +33,7 @@ defaults:
shell: bash shell: bash
jobs: jobs:
labels: update:
name: label-pr
runs-on: ubuntu-24.04-arm runs-on: ubuntu-24.04-arm
if: github.event_name != 'schedule' || github.repository_owner == 'NixOS' if: github.event_name != 'schedule' || github.repository_owner == 'NixOS'
steps: steps:

View File

@@ -26,7 +26,6 @@ defaults:
jobs: jobs:
request: request:
name: Request
runs-on: ubuntu-24.04-arm runs-on: ubuntu-24.04-arm
steps: steps:
- name: Check out the PR at the base commit - name: Check out the PR at the base commit