The current GitHub Actions fail if commitlint throws an error.
This pull request adds 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.
Related Issue
Fixes #14
Type of Change
Please mark the appropriate option below to describe the type of change your pull request introduces:
[ ] Bug fix
[x] New feature
[ ] Enhancement
[ ] Documentation update
[ ] Refactor
[ ] Other (please specify)
Checklist
[x] My pull request has a clear title and description.
[x] I have used semantic commit messages.
Examples: "fix: Fixed foobar bug", "feat(accounts): Added foobar feature".
[x] I have added/updated the necessary documentation on README.md.
[x] I have added appropriate test cases (if applicable) to ensure the changes are functioning correctly.
By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.
Description
The current GitHub Actions fail if
commitlint
throws an error.This pull request adds 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 betrue
.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.
Related Issue
Fixes #14
Type of Change
Please mark the appropriate option below to describe the type of change your pull request introduces:
Checklist
"fix: Fixed foobar bug"
,"feat(accounts): Added foobar feature"
.README.md
.By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.