Closed root-ansh-ct closed 2 years ago
Hey @root-ansh-ct
As long as you don't set checkAllCommitMessages
to true
only the PR tile and description are used as written here https://github.com/GsActions/commit-message-checker#configuration.
And also check how to debug the action here https://github.com/GsActions/commit-message-checker#troubleshooting-and-debugging.
Code of Conduct
Is there an existing issue for this?
GitHub-hosted runner
ubuntu-latest
Additional runner information
Current Behavior
The above mentioned yaml is not working on head commit but rather the PR title. i wish to check on just the head commit and not enforce namings on PR title/ description
Expected Behavior
expected the regex
'\[[^]]+\]'
to match for commit[FIX] [SDK-974] validate head commit format (should be successful)
, but not sure why it isn't matching . on regex101 site, it seems to work correctly. : https://regex101.com/r/VapGyU/1Steps To Reproduce
run the above yaml mentioned in any github runner and you will find the title getting validated but not the head commit
Anything else?
https://github.com/CleverTap/clevertap-android-sdk/actions/runs/2014762191