11
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2026-04-09 02:54:18 +00:00

feat: add firstParent input to ignore errors from your default branch

This commit is contained in:
Wagner Santos 2019-10-15 10:19:36 -03:00
parent 23cd801837
commit 598e473cb4
3 changed files with 16 additions and 0 deletions

View file

@ -5,6 +5,9 @@ inputs:
configFile:
description: 'commitlint config file'
default: './commitlint.config.js'
firstParent:
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
runs:
using: 'docker'
image: 'docker://wagoid/commitlint-github-action:1.1.1'