Replies: 1 comment 2 replies
-
That is a tough one. Do you happen use I see org admins can bypass the ruleset, so one way to achieve what you want if to:
Another way could be:
We strongly recommend avoiding having persistent admin access at any level (org or repo). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
In our repos we are using Branch policies for main and release/* to prohibit pushes without a PR to these branches. However, when running the "Create Release" Action the Job "CreateReleaseBranch" fails because the GitHub Action is not allowed to push on the branch due to the branch policies. I have not found a way to let the github action bypass these policies.
What is the best practice here?


Beta Was this translation helpful? Give feedback.
All reactions