conventional-commit-checker-action
conventional-commit-checker-action copied to clipboard
Is it possible to support a custom message to explain why is this check failing if so ?
Hello, I've been testing this action so far and it has been pretty nice. I would like to ask you if there is some way that we can handle a customized message for when the check fails?
hello, this seems not possible for now. The failure message is hard coded and is not configurable. See https://github.com/agenthunt/conventional-commit-checker-action/blob/master/ccc.js#L9. What kind of action input would you like to configure?
It'll be nice to just say that it's not matching the conventional commit, and then provide a link to https://www.conventionalcommits.org/en/v1.0.0/ to show people what it means.
@darwin67 It can be done, but it would require significant changes to this Action, and I don't think that's in their roadmap. I would suggest you simply add a step in to your workflow that upon failure, echoes a message and the link you just sent.