Branch Protection Rule "Require approval of the most recent push" should provide option to ignore clean/empty commits #41547
Unanswered
zepeng811
asked this question in
Pull Requests
Replies: 2 comments 2 replies
-
Hey, Currently, we had to turn off the You still had no feedback from the GitHub team? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Hey y'all! We made a number of substantial changes to pull requests earlier this month which included updated to "last pusher" and this behavior. |
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
Recently GitHub implemented a branch protection rule feature Require approval from someone other than the last pusher. This is a great feature to prevent developers adding code to someone else's branch/PR and approving their own changes, however we are experiencing an issue when trying to enable this feature in our organization.
Our organization requires the branch to be up to date with the protected branch before merging (The nested feature under required status check):
![image](https://user-images.githubusercontent.com/107065343/207129013-f8aff198-c211-47e5-ab7a-5c656e2b45c1.png)
Which enabling both rules causes a big problem for our workflow:
I think it makes sense for this particular rule to ignore (or at least provide the option to ignore) clean/empty commits pushed to the branch. Let me know if the above workflow does not make sense or additional details are required.
Beta Was this translation helpful? Give feedback.
All reactions