Skip to content

Commit 6e22353

Browse files
authored
Rollup merge of rust-lang#109868 - jyn514:ci-names, r=Mark-Simulacrum
Improve PR job names in Github Actions preview Fixes https://rust-lang.zulipchat.com/#narrow/stream/242791-t-infra/topic/PR.20CI.20job.20names. Before: `CI / PR (mingw-check, false, ubuntu-20.04-16core-64gb) (pull_request)` After: `CI / PR - mingw-check (pull_request)` r? `@jyn514`
2 parents a6a60e7 + 423e76f commit 6e22353

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
pr:
3535
permissions:
3636
actions: write
37-
name: PR
37+
name: "PR - ${{ matrix.name }}"
3838
env:
3939
CI_JOB_NAME: "${{ matrix.name }}"
4040
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
@@ -159,7 +159,7 @@ jobs:
159159
auto:
160160
permissions:
161161
actions: write
162-
name: auto
162+
name: "auto - ${{ matrix.name }}"
163163
env:
164164
CI_JOB_NAME: "${{ matrix.name }}"
165165
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse
@@ -578,7 +578,7 @@ jobs:
578578
try:
579579
permissions:
580580
actions: write
581-
name: try
581+
name: "try - ${{ matrix.name }}"
582582
env:
583583
CI_JOB_NAME: "${{ matrix.name }}"
584584
CARGO_REGISTRIES_CRATES_IO_PROTOCOL: sparse

src/ci/github-actions/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ jobs:
284284
permissions:
285285
actions: write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
286286
<<: *base-ci-job
287-
name: PR
287+
name: PR - ${{ matrix.name }}
288288
env:
289289
<<: [*shared-ci-variables, *public-variables]
290290
if: github.event_name == 'pull_request'
@@ -312,7 +312,7 @@ jobs:
312312
permissions:
313313
actions: write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
314314
<<: *base-ci-job
315-
name: auto
315+
name: auto - ${{ matrix.name }}
316316
env:
317317
<<: [*shared-ci-variables, *prod-variables]
318318
if: github.event_name == 'push' && github.ref == 'refs/heads/auto' && github.repository == 'rust-lang-ci/rust'
@@ -741,7 +741,7 @@ jobs:
741741
permissions:
742742
actions: write # for rust-lang/simpleinfra/github-actions/cancel-outdated-builds
743743
<<: *base-ci-job
744-
name: try
744+
name: try - ${{ matrix.name }}
745745
env:
746746
<<: [*shared-ci-variables, *prod-variables]
747747
if: github.event_name == 'push' && (github.ref == 'refs/heads/try' || github.ref == 'refs/heads/try-perf') && github.repository == 'rust-lang-ci/rust'

0 commit comments

Comments
 (0)