forked from mristin/opinionated-commit-message
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
60 lines (60 loc) · 1.91 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
name: 'Opinionated-commit-message'
description: 'Check commit messages according to an opinionated style'
author: 'Marko Ristin'
runs:
using: node20
main: dist/index.js
branding:
icon: 'check'
color: 'blue'
inputs:
additional-verbs:
description: 'Additional verbs in imperative mood to be accepted in checks'
required: false
default: ''
path-to-additional-verbs:
description: 'Path to the file containing the additional verbs in imperative mood to be accepted in checks'
required: false
default: ''
allow-one-liners:
description: 'If set to "true", allows one-liner commit messages without body'
required: false
default: ''
max-subject-line-length:
description: 'Maximum length of the commit subject line'
required: false
default: ''
min-body-length:
description: 'Minimum length of the body of the commit message'
required: false
default: ''
max-body-line-length:
description: 'Maximum length of a line in the body of the commit message'
required: false
default: ''
enforce-sign-off:
description: 'If set to "true", signed-off-by is required in the commit message body'
required: false
default: ''
skip-body-check:
description: 'If set to "true", skip the body check'
required: false
default: ''
validate-pull-request-commits:
description: 'If set to "true", validate commits in pull requests instead of the pull request body'
required: false
default: ''
ignore-merge-commits:
description: 'If set to "false", merge commits will not be ignored.'
required: false
default: 'true'
ignore-patterns:
description: >-
Pattern to ignore in commit messages. One pattern per line.
Patterns are matched against the whole commit message as regular expressions without any flags.
required: false
default: ''
github-token:
description: 'GitHub token'
required: false
default: ''