mirror of
https://github.com/wagoid/commitlint-github-action.git
synced 2026-04-07 10:06:55 +00:00
fix: don't fail on warnings
This follows the commitlint CLI behavior, which exits with success when there are only warnings. This behavior can be changed by passing 'true' to the parameter `failOnWarnings`.
This commit is contained in:
parent
85fcead13e
commit
6e0fcb1270
4 changed files with 144 additions and 29 deletions
12
README.md
12
README.md
|
|
@ -30,7 +30,9 @@ Alternatively, you can run on other event types such as `on: [push]`. In that ca
|
|||
|
||||
### `configFile`
|
||||
|
||||
The path to your commitlint config file. Default `commitlint.config.js`.
|
||||
The path to your commitlint config file.
|
||||
|
||||
Default: `commitlint.config.js`
|
||||
|
||||
### `firstParent`
|
||||
|
||||
|
|
@ -39,7 +41,13 @@ When set to true, we follow only the first parent commit when seeing a merge com
|
|||
This helps to ignore errors in commits that were already present in your default branch (e.g. `master`) before adding conventional commit checks.
|
||||
More info in [git-log docs](https://git-scm.com/docs/git-log#Documentation/git-log.txt---first-parent).
|
||||
|
||||
Default `true`
|
||||
Default: `true`
|
||||
|
||||
### `failOnWarnings`
|
||||
|
||||
Whether you want to fail on warnings or not.
|
||||
|
||||
Default: `false`
|
||||
|
||||
## About `extends` in your config file
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue