Push protection ruleset bypass not prompting as described #178229
Replies: 3 comments
-
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the note @Lawls91. Looks like we carried over the language in the UI from branch and tag rules which allow bypassing via a PR which is not a flow a push invokes. We'll get a internal issues created to ensure the copy on the bypass UI is aligned with the type of rule being selected. |
Beta Was this translation helpful? Give feedback.
-
|
@patrick-knight thanks for opening an internal issue to address this. Your proposed solution would fix the incorrect statement but I'd actually prefer that bypassing push rules required confirmation. In general we don't want anyone pushing to The alternative is that we don't have a bypass rule and only add it during an incident, which we will document in our incident playbook. This is ok (it defines a clear privilege escalation action), but isn't ideal. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Select Topic Area
Bug
Body
I have created a simple push protection ruleset with the bypass list set to the Repository admin role. The description of the bypass says "the selected actor(s) will be prompted to bypass". However, as a repo admin when I push to a file that hits this ruleset, it just automatically bypasses it without a prompt.
I have tried committing with both git CLI and through the github webview and both just bypass the rule automatically without any prompt
Beta Was this translation helpful? Give feedback.
All reactions