capabilities.work

Reorder branch protection priorities

One step with Gitea. We can help you get access.

Get something done

Reorder branch protection priorities

with Gitea · Software Construction Management

Use Gitea: its Gitea Repository API lets you reorder branch protection priorities in a single step (POST /repos/{owner}/{repo}/branch_protections/priority). capabilities.work can help you get signed up and connected.

  • When several protection rules match a branch, how do I set which one wins?
  • Can I change the order of a repo's branch protection rules?
Say it to your AI assistant
  • Reorder the branch protection rules of {owner}/{repo} to {ids}.
  • Set branch protection priority in {owner}/{repo} to the order {ids}.
For your developer

POST /repos/{owner}/{repo}/branch_protections/priority in Gitea Repository API. Full spec on APIs.io.