From f5ab3d9a6d63fb4451b7645b5d46fc179c80380f Mon Sep 17 00:00:00 2001 From: "sentry-junior[bot]" <264270552+sentry-junior[bot]@users.noreply.github.com> Date: Tue, 3 Nov 2026 10:42:22 +0000 Subject: [PATCH] ci: Give the PR risk label test job its own check name The job id `test` doubled as its check name, the same name as the required aggregate check from test.yml. When a PR touched the risk label files, this 5-minute job could satisfy the required check before the full Test workflow finished. Co-Authored-By: BYK <126780+BYK@users.noreply.github.com> --- .github/workflows/pr-risk-labels-test.yml | 2 ++ docs/operations/github-actions.md | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/pr-risk-labels-test.yml b/.github/workflows/pr-risk-labels-test.yml index 5f54f625d..2be430a48 100644 --- a/.github/workflows/pr-risk-labels-test.yml +++ b/.github/workflows/pr-risk-labels-test.yml @@ -18,6 +18,8 @@ permissions: jobs: test: + # `test` is the required check name; see docs/operations/github-actions.md. + name: PR risk label tests runs-on: ubuntu-latest timeout-minutes: 5 steps: diff --git a/docs/operations/github-actions.md b/docs/operations/github-actions.md index 69d9dc84a..561f3d60f 100644 --- a/docs/operations/github-actions.md +++ b/docs/operations/github-actions.md @@ -18,6 +18,8 @@ docs depend on `sentry`). Root-level changes and non-PR events check every enabled project. Each project has its own build, lint, typecheck, test, policy, and E2E steps when those scripts exist. The always-present `test` job checks discovery, installation, repository quality, and every selected project. +It is the required status check for `main` and `release/**`, so no other +job may use the check name `test`: GitHub would accept that check in its place. Package-specific checks and exceptions live in `package.json#sentryCi`; see [Package CI checks](#package-ci-checks). The standalone smoke-test suite remains in its own workflow.