11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-09 02:54:18 +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:
Wagner Santos 2020-02-01 08:43:41 -03:00
parent 85fcead13e
commit 6e0fcb1270
4 changed files with 144 additions and 29 deletions

View file

@ -10,6 +10,10 @@ inputs:
description: 'when set to true, we follow only the first parent commit when seeing a merge commit. More info in git-log docs https://git-scm.com/docs/git-log#Documentation/git-log.txt---first-parent'
default: 'true'
required: false
failOnWarnings:
description: 'whether you want to fail on warnings or not'
default: 'false'
required: false
runs:
using: 'docker'
image: 'docker://wagoid/commitlint-github-action:1.3.2'