Repository navigation
Commit addfb80
ci: Give the PR risk label test job its own check name (#1847)
The `Default` ruleset on `main` (and `Release branches` on `release/**`)
requires one status check: `test` from GitHub Actions. That is meant to
be the aggregate `test` job in `test.yml`, which `needs` discovery,
install, quality, every project matrix job, the npm runtime jobs, and
the CLI asset catalog.
`pr-risk-labels-test.yml` also had a job with the id `test` and no
`name`, so its check run was also called `test` and came from the same
app. On a PR that touches the risk label workflow or its tests, that
short job could satisfy the required check before the full Test workflow
finished.
This PR gives that job its own name and records in
`docs/operations/github-actions.md` that the `test` check name is
reserved.
This PR does not change the rulesets. They require only
`~DEFAULT_BRANCH` and `release/**`, so PRs that target other branches,
such as stacked PRs, have no required checks. That is how #1797 merged
into `feat/toolkit-core-markdown` while `sentry` and `test` were still
running.
<!-- junior-request-attribution:start -->
via @BYK.
<!-- junior-request-attribution:end -->
<!-- junior-session-footer:start -->
<!-- junior-conversation-id:local%3Aweb%3A7ce4fa19419509f244098772 -->
--
[View Session in
Sentry](https://sentry.sentry.io/explore/conversations/local%3Aweb%3A7ce4fa19419509f244098772/?project=4510944073809921)
<!-- junior-session-footer:end -->
Co-authored-by: sentry-junior[bot] <264270552+sentry-junior[bot]@users.noreply.github.com>
Co-authored-by: BYK <126780+BYK@users.noreply.github.com>1 parent 7216425 commit addfb80
2 files changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
| 21 | + | |
| 22 | + | |
21 | 23 | | |
22 | 24 | | |
23 | 25 | | |
| |||
0 commit comments