Change required status check rules
One step with GitHub. We can help you get access.
Get something done
Change required status check rules
with GitHub · Software Construction Management
Use GitHub: its GitHub v3 REST Repos API lets you change required status check rules in a single step (PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks). capabilities.work can help you get signed up and connected.
- Can I require branches to be up to date before they merge?
- Is it possible to change which CI checks are required on a protected branch?
Say it to your AI assistant
- Set strict up-to-date checking to {strict} on {branch} in {owner}/{repo}.
- Require the checks {checks} to pass before merging into {branch} of {owner}/{repo}.
- Update the required status check contexts on {branch} in {owner}/{repo} to {contexts}.
For your developer
PATCH /repos/{owner}/{repo}/branches/{branch}/protection/required_status_checks in GitHub v3 REST Repos API. Full spec on APIs.io.