fix(ci): rename summary job to 'Tests' to match branch protection rule
The branch protection requires a status check named 'Tests', but GitHub reports checks using job names, not the workflow name. The summary job was named 'All Checks Complete' which never satisfied the required check, leaving PRs permanently stuck as 'Expected — Waiting for status to be reported'. Fix: rename the summary job from 'All Checks Complete' to 'Tests' so it matches the required status check exactly.
This commit is contained in:
8
.github/workflows/tests.yml
vendored
8
.github/workflows/tests.yml
vendored
@@ -105,9 +105,13 @@ jobs:
|
||||
name: codecov-umbrella
|
||||
fail_ci_if_error: false
|
||||
|
||||
# Summary job that provides a single status check for branch protection
|
||||
# Summary job that provides a single status check for branch protection.
|
||||
# The job name MUST match the required status check in the branch
|
||||
# protection rules. GitHub reports status checks using job names
|
||||
# (not the workflow name), so the required check "Tests" will only
|
||||
# be satisfied if a job with exactly that name exists and succeeds.
|
||||
tests-complete:
|
||||
name: All Checks Complete
|
||||
name: Tests
|
||||
needs: [lint, test]
|
||||
runs-on: ubuntu-latest
|
||||
if: always()
|
||||
|
||||
Reference in New Issue
Block a user