Programatically activate the Merge Queue branch protection rule #128956
Unanswered
lecrepont01
asked this question in
API and Webhooks
Replies: 1 comment
-
Also noticed that the get branch protection endpoint: https://docs.github.com/en/rest/branches/branch-protection?apiVersion=2022-11-28#get-branch-protection does not know the "Require Merge Queue" in its response. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Product Feedback
Body
Hi,
I have a use case where I need to dynamically activate a Merge Queue with its associated Branc Protection Rule "Require Merge Queue" in the repo settings.
Unfortunately, this is not a BP rule that can be activated via GraphQL API like it is possible for others: CreateBranchProtectionRuleInput.
I would like to know if this will be supported or if there is another way.
Regards,
Beta Was this translation helpful? Give feedback.
All reactions