Skip to content

Ruleset enforcing status checks can be bypassed by anyone #121511

Closed Answered by collinmcneese
serpro69 asked this question in Repositories
Discussion options

You must be logged in to vote

Hello! Just wanted to drop a note here that in the screenshots, it looks like the check-pr/lint and check-pr/test status checks were being checked and in the subsequent screenshot it looks like those jobs show as a status of skipped .

Skipped jobs count as success when it comes to status checks. There are a number of reasons for this, one of which is so that jobs can be conditional with if: type checks at the job level and skipped jobs then status as success rather than failure.

From the docs:

Note: A job that is skipped will report its status as "Success". It will not prevent a pull request from merging, even if it is a required check.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by serpro69
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working correctly Repositories The core of version-controlled code storage
2 participants