Replies: 1 comment 2 replies
-
@iljamaki you can use this pattern: pattern: "^.{0,51}(\n.*)*$" I am testing that the commit message is 50 characters max and is working. You can also check this search to find regex pattern from other repositories using this github action https://github.com/search?q=GsActions+%2F+commit-message-checker&type=code |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
The usage example in the README.me file has two tests:
I think there are problems with both of them:
I was able to make use of the second example test by modifying its pattern to
^(Resolves|Fixes):? \#[0-9]+$
but I would also like to check the line lengths of commit messages, so any advice to me or bug fix to the action would be highly appreciated.Beta Was this translation helpful? Give feedback.
All reactions