13rac1 / block-fixup-merge-action

Github Action to block merge of Pull Requests containing fixup! or squash! commits
MIT License
46 stars 14 forks source link

feat: Block --squash commits #17

Closed 13rac1 closed 3 years ago

13rac1 commented 3 years ago

Adds support for blocking commits made with:

--squash=<commit>
    Construct a commit message for use with rebase --autosquash. The commit message subject line is taken from
    the specified commit with a prefix of "squash! ". Can be used with additional commit message options
    (-m/-c/-C/-F). See git-rebase(1) for details.

fixes #14