Skip to content

Improve PR job names in Github Actions preview #109868

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Apr 3, 2023
Merged

Conversation

jyn514
Copy link
Member

@jyn514 jyn514 commented Apr 2, 2023

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

@rustbot rustbot added A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue. labels Apr 2, 2023
@jyn514 jyn514 marked this pull request as ready for review April 2, 2023 21:52
@jyn514
Copy link
Member Author

jyn514 commented Apr 2, 2023

r? infra-ci cc @RalfJung

@rustbot rustbot assigned Mark-Simulacrum and unassigned jyn514 Apr 2, 2023
@Mark-Simulacrum
Copy link
Member

Maybe we should apply this to the auto and try sections too? e.g., https://github.com/rust-lang-ci/rust/actions/runs/4589308533/jobs/8104110343 looks like it's named similarly whereas just matrix.name is probably fine.

Before: `CI / PR (mingw-check, false, ubuntu-20.04-16core-64gb) (pull_request)`
After: `CI / PR - mingw-check (pull_request)`
@Mark-Simulacrum
Copy link
Member

r=me

@jyn514
Copy link
Member Author

jyn514 commented Apr 2, 2023

this does start showing "CI / auto - ${{ matrix.name }} (pull_request) Skipped" on PRs instead of "CI / auto (pull_request) Skipped", but given that the job is being skipped anyway, that seems ok.

@bors r=Mark-Simulacrum rollup

@bors
Copy link
Collaborator

bors commented Apr 2, 2023

📌 Commit 423e76f has been approved by Mark-Simulacrum

It is now in the queue for this repository.

@bors bors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 2, 2023
matthiaskrgr added a commit to matthiaskrgr/rust that referenced this pull request Apr 2, 2023
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`
bors added a commit to rust-lang-ci/rust that referenced this pull request Apr 3, 2023
…iaskrgr

Rollup of 7 pull requests

Successful merges:

 - rust-lang#109526 (LIBPATH is used as dylib's path environment variable on AIX)
 - rust-lang#109642 (check for missing codegen backeng config)
 - rust-lang#109722 (Implement read_buf for RustHermit)
 - rust-lang#109856 (fix(middle): emit error rather than delay bug when reaching limit)
 - rust-lang#109868 (Improve PR job names in Github Actions preview)
 - rust-lang#109871 (Include invocation start times)
 - rust-lang#109873 (Move some UI tests into subdirectories)

Failed merges:

r? `@ghost`
`@rustbot` modify labels: rollup
@bors bors merged commit 9007ee9 into rust-lang:master Apr 3, 2023
@rustbot rustbot added this to the 1.70.0 milestone Apr 3, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
A-testsuite Area: The testsuite used to check the correctness of rustc S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. T-infra Relevant to the infrastructure team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants