conventional-commit-checker-action icon indicating copy to clipboard operation
conventional-commit-checker-action copied to clipboard

Is it possible to support a custom message to explain why is this check failing if so ?

Open Miguelme opened this issue 3 years ago • 3 comments

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?

Miguelme avatar Sep 10 '21 09:09 Miguelme

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?

tbouffard avatar Jan 13 '22 10:01 tbouffard

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 avatar Nov 07 '23 08:11 darwin67

@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.

salbracco24 avatar Aug 26 '24 20:08 salbracco24