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.

(cherry picked from commit c08b86e962)
This commit is contained in:
Wolfgang Walther
2025-05-30 18:29:13 +02:00
committed by github-actions[bot]
parent 1c1a5f9b8d
commit e87d0742be
3 changed files with 6 additions and 10 deletions

View File

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

View File

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

View File

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