5
0
Fork 0
mirror of https://github.com/wagoid/commitlint-github-action.git synced 2025-11-07 08:06:54 +00:00
commitlint-github-action/action.yml
2020-02-14 11:55:12 -03:00

26 lines
941 B
YAML

name: 'Commit Linter'
description: 'Lints Pull Request commit messages with commitlint'
author: 'Wagner Santos'
inputs:
configFile:
description: 'Commitlint config file'
default: './commitlint.config.js'
required: false
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'
required: false
failOnWarnings:
description: 'Whether you want to fail on warnings or not'
default: 'false'
required: false
helpURL:
description: 'Link to a page explaining your commit message convention'
default: 'https://github.com/conventional-changelog/commitlint/#what-is-commitlint'
required: false
runs:
using: 'docker'
image: 'docker://wagoid/commitlint-github-action:1.4.0'
branding:
icon: 'check-square'
color: 'blue'