Skip to content

Add stable CI result check for branch protection - #2076

Merged
vladimir-pecanac-main merged 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:ci/stable-summary-check
Aug 3, 2026
Merged

Add stable CI result check for branch protection#2076
vladimir-pecanac-main merged 1 commit into
CodeMazeBlog:mainfrom
vladimir-pecanac-main:ci/stable-summary-check

Conversation

@vladimir-pecanac-main

Copy link
Copy Markdown
Collaborator

Add stable CI result check for branch protection

Adds a final CI result job to .github/workflows/pr-build.yml that always runs (if: always()) after detect-changes and build-and-test, and only fails if one of those actually failed or was cancelled. This gives the workflow one job name that stays the same on every PR, unlike build-and-test, whose displayed name includes the matrix folder and therefore changes per PR. A required status check needs a name that doesn't move around, so this is what should be set as required in branch protection going forward. A PR that touches no buildable folders (empty matrix) still passes, since a skipped job isn't treated as a failure.

@vladimir-pecanac-main
vladimir-pecanac-main merged commit 5530d93 into CodeMazeBlog:main Aug 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant