How do I give pull request permission for a branch and revoke it for the other one #23998
-
Hi! I wanna set my |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
I don’t think there is an option for that. But you could write an Actions workflow that either closes the request with a comment, or (nicer) retargets it to a more appropriate branch. docs.github.comPulls - GitHub Docs//docs.github.com/en/rest/reference/pulls |
Beta Was this translation helpful? Give feedback.
-
Thanks for answering! Anyways, how do I edit my post? I wanna change that sentence to *specific branch for alpha … |
Beta Was this translation helpful? Give feedback.
-
There should be a pencil symbol near the bottom right of your post (second symbol left of “Reply”): |
Beta Was this translation helpful? Give feedback.
I don’t think there is an option for that. But you could write an Actions workflow that either closes the request with a comment, or (nicer) retargets it to a more appropriate branch.
docs.github.com
Pulls - GitHub Docs
//docs.github.com/en/rest/reference/pulls