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:
10
.github/workflows/eval.yml
vendored
10
.github/workflows/eval.yml
vendored
@@ -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:
|
||||
|
||||
5
.github/workflows/labels.yml
vendored
5
.github/workflows/labels.yml
vendored
@@ -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:
|
||||
|
||||
1
.github/workflows/reviewers.yml
vendored
1
.github/workflows/reviewers.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user