Skip to content

Commit

Permalink
Try to make the job name a little friendlier.
Browse files Browse the repository at this point in the history
  • Loading branch information
alliepiper committed Apr 22, 2024
1 parent 4a59779 commit 0c8e770
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci-dispatch-group.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ permissions:

jobs:
standlone-jobs:
name: '[Standalone]'
permissions:
id-token: write
contents: read
Expand All @@ -30,6 +31,7 @@ jobs:
command: ${{ matrix.command }}

two-stage-jobs:
name: '[TwoStage]'
permissions:
id-token: write
contents: read
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/ci-dispatch-two-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ permissions:

jobs:
producers:
name: '[Producer]'
# It is impossible to accumulate output variables across a matrix, and we cannot rely on the results of the dispatch-job workflow to determine success.
# See the note in ci-dispatch-job.yml for more information.
#
Expand All @@ -34,6 +35,7 @@ jobs:
command: ${{ matrix.command }}

consumers:
name: '[Consumer]'
needs: producers
# dispatch-job's result is always false, check the outputs instead. See ci-dispatch-job.yml for more information.
if: ${{ !cancelled() && fromJson(needs.producers.outputs.success) }}
Expand Down

0 comments on commit 0c8e770

Please sign in to comment.