Create rule which enforces the "Require status checks to pass before merging" branch protection rule in Github #49
Labels
good first issue
Good for newcomers
P2
Nice to fix: non-critical items that should be evaluated and planned during issue triage
There does not appear to a rule for enforcing status checks in branch protections, e.g.
Examining the Github API output for the branch protections shown in the screenshot, the relevant part of the response is:
Notes:
Require status checks to pass before merging
is unselected, thenrequired_status_checks
is set to null.Require branches to be up to date before merging
checkbox corresponds to thestrict
flag in the JSON object.Require status checks to pass before merging
box is selected and the list of checks to be non-empty.Require branches to be up to date before merging
or at least make it optional when creating a policy.The text was updated successfully, but these errors were encountered: