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

feat: add fail_on_error parameter support on github actions #27

Closed subashcs closed 7 months ago

subashcs commented 7 months ago

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 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:

Checklist

By submitting this pull request, I confirm that I have read and complied with the contribution guidelines of this project.

subashcs commented 7 months ago

I have added a few updates. Please review @aj3sh @sugat009.