Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add fail_on_error parameter support on github actions #27

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

subashcs
Copy link
Collaborator

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:

  • Bug fix
  • New feature
  • Enhancement
  • Documentation update
  • Refactor
  • Other (please specify)

Checklist

  • My pull request has a clear title and description.
  • I have used semantic commit messages.
    Examples: "fix: Fixed foobar bug", "feat(accounts): Added foobar feature".
  • I have added/updated the necessary documentation on README.md.
  • 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.

@subashcs
Copy link
Collaborator Author

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

@aj3sh aj3sh merged commit 11040b0 into opensource-nepal:main Feb 29, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add fail_on_error parameter to the Github actions
2 participants