Closed acearth closed 2 years ago
@acearth Please check the checkAllCommitMessages
option see https://github.com/GsActions/commit-message-checker#configuration
The example in README.md refers to
gsactions/commit-message-checker@v1
but that release doesn't contain the checkAllCommitMessages
.
Does the checkAllCommitMessages
check only PR commits? Or does it check all the commits in the repository?
Because in my case, the team started to adopt standard commit messages, but there are a lot of commits in the history that does not follow the pattern.
Thanks to the author, we can use this action to check commit message following the proper format.
But I found the action failed to check following situations: (1) the PR contains 2 or more commits; (2) at least one commit in the PR following the proper format; (3) at least one commit in the PR broken the rule of proper format. In this case, the check still treat the situation as proper one then check pass. but in the controversary, the action check shall be failed due to "at least one commit broken the rule of format".
Can you let me know, how to enable the action to check on every commit of one PR. Or, is it possible to improve in next version?