opensource-nepal / commitlint

commitlint is a tool designed to lint your commit messages according to the Conventional Commits standard for your pre-commit hook and GitHub Actions.
GNU General Public License v3.0
16 stars 9 forks source link

Add fail_on_error parameter to the Github actions #14

Closed aj3sh closed 7 months ago

aj3sh commented 8 months ago

The current GitHub Actions fail if commitlint throws an error. Add a new boolean parameter, fail_on_error, to GitHub Actions. This parameter will determine whether to fail the CI or proceed to the next step when commitlint throws an error. The default value for this parameter will be true.

The fail_on_error parameter is set to false when the user wants to ignore the commit message validation or handle the error in their own way.