diff --git a/.github/workflows/ci-dispatch-group.yml b/.github/workflows/ci-dispatch-group.yml index a600c80a3f6..1d5b2e465b1 100644 --- a/.github/workflows/ci-dispatch-group.yml +++ b/.github/workflows/ci-dispatch-group.yml @@ -15,6 +15,7 @@ permissions: jobs: standlone-jobs: + name: '[Standalone]' permissions: id-token: write contents: read @@ -30,6 +31,7 @@ jobs: command: ${{ matrix.command }} two-stage-jobs: + name: '[TwoStage]' permissions: id-token: write contents: read diff --git a/.github/workflows/ci-dispatch-two-stage.yml b/.github/workflows/ci-dispatch-two-stage.yml index 9dac636d48d..9f4e2cb5b22 100644 --- a/.github/workflows/ci-dispatch-two-stage.yml +++ b/.github/workflows/ci-dispatch-two-stage.yml @@ -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. # @@ -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) }}