-
Notifications
You must be signed in to change notification settings - Fork 208
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
block autosquash/fixup commits #7768
Comments
Only a problem if we don't use mergify's rebase process. I'd prefer to find a solution that handles these commits and automatically "does the right thing" with them. |
Note that some of the fixup commits in master were while Mergify's rebase process was available. If you're proposing that we only ever allow merges to master using Mergify's rebase then, yes, we wouldn't need this. Barring that, fulfilling this issue is useful. |
To be more specific, squash "merging" also does not expose that issue. It's only a problem for the pure merge commit merging method, which is currently implicit for GH based merge queues, and explicit for the If we keep a GH merge queue process, I'd like to replicate the squash / rebase+fixup+merge methods. Hence the comment about not blocking but automatically handle these commits. |
Well this won't effectively be closed until we make the |
|
What is the Problem Being Solved?
We've taken to using
fixup!
commits in PRs so the reviewer can see the revision to the commits but they get squashed before master. Sometimes the author forgets to squash before merging to master, so fixups end up in master branch and make it harder to see meaningful changes (in history and in git blame).Description of the Design
Set up CI for master that prevents such commits. E.g. https://github.com/xt0rted/block-autosquash-commits-action
Security Considerations
Scaling Considerations
Test Plan
The text was updated successfully, but these errors were encountered: