Unverified Commit c08b86e9 authored by Wolfgang Walther's avatar Wolfgang Walther
Browse files

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.
parent 008527d7
Loading
Loading
Loading
Loading
+4 −6
Original line number Diff line number Diff line
@@ -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:
+2 −3
Original line number Diff line number Diff line
@@ -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:
+0 −1
Original line number Diff line number Diff line
@@ -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