-
Notifications
You must be signed in to change notification settings - Fork 143
chore: add no-merge-commits.yml #764
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
chore: add no-merge-commits.yml #764
Conversation
3e2d994 to
1464165
Compare
kenjis
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
|
@paulbalandan , why do we need this feature, just to keep clean history? Or does it have other benefits? |
|
Why added here? I saw you guys asking contributors not use merge commits in PRs so I thought why not automate that. Yes, to keep clean history of PR once merged to develop. You don't want to see the history of |
|
This strictness will be useful for the repo but annoying for the contributors. |
|
If it is annoying, why are you enforcing it then to contributors manually (saying "Please don't use git merge, use git rebase.")? Isn't that annoying as well? This is the behavior before and after: If you're not comfortable with this addition, please feel free to send a revert PR. |
Then make docs for it. I don't understand why you are making a fuss about this when this is already done in the past albeit manually. I just implemented an automated solution. |
There is already. I explained how to do: #789 (comment) |
|
@datamweb We added the Paul's check. But I do not expect every contributor could do But I do not expect all contributors cannot use |
https://github.com/marketplace/actions/no-merge-commits-action