-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
32 lines (27 loc) · 859 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
name: prcolinter
description: Lint all PR commits in a given PR against conventional commit spec
branding:
icon: check-circle
color: blue
inputs:
token:
description: A token with access to your repository scoped in as a secret
required: true
config_path:
required: false
description: Path to configuration file
default: './.github/prcolinterrc.json'
rules:
required: false
description: 'Rule set for commit linter. For examples, see https://github.com/conventional-changelog/commitlint/blob/master/@commitlint/config-conventional/index.js'
comment:
required: false
description: Add a lint report as a comment on the PR
default: 'true'
delete_comment:
required: false
description: Whether to scrub old lint reports from comments
default: 'true'
runs:
using: node12
main: dist/index.js