Skip to content
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

Add commit message check to marge bot #329

Open
arvidj opened this issue Oct 25, 2021 · 1 comment
Open

Add commit message check to marge bot #329

arvidj opened this issue Oct 25, 2021 · 1 comment

Comments

@arvidj
Copy link

arvidj commented Oct 25, 2021

It would be convenient if marge-bot could be configured to disallow the merging MRs whose history contains commits matching a set of patterns. In our project, commits messages should always match "Component: action" and in particular we shall not merge fixups (i.e. "fixup!") nor applied suggestion commits (i.e. "Apply 9 suggestion(s) to 1 file(s)").

This is slightly related to #16 and #296.

@dgroh
Copy link

dgroh commented Jun 30, 2022

Use commitlint for that. You can configure your own pattern.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants