-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
85 lines (85 loc) · 2.69 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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
name: "GitLint Action"
description: "Check if naming conventions for commits, branches, and pull requests are respected"
branding:
icon: "check"
color: "blue"
inputs:
commit-message-body-max-length:
description: "Max. length of commit message body"
required: false
default: 72
commit-message-body-min-length:
description: "Min. length of commit message body"
required: false
default: -1
commit-message-subject-max-length:
description: "Max. length of commit message subject"
required: false
default: 50
commit-message-subject-min-length:
description: "Min. length of commit message subject"
required: false
default: -1
github-token:
description: "GitHub token used to access api"
required: true
default: ${{ github.token }}
prohibit-blank-lines-cm-body:
description: "Prohibit blank lines in commit message body"
required: false
default: false
prohibit-unknown-commit-authors:
description: "Prohibit commit authors that are not known to GitHub"
required: false
default: true
prohibit-unknown-commit-committers:
description: "Prohibit commit committers that are not known to GitHub"
required: false
default: true
prohibit-unsigned-commits:
description: "Prohibit commits without a valid signature"
required: false
default: false
re-branch-name:
description: "Regular expression to check branch name"
required: false
default: ".*"
re-commit-author-email:
description: "Regular expression to check commit author email"
required: false
default: ".*"
re-commit-author-name:
description: "Regular expression to check commit author name"
required: false
default: ".*"
re-commit-committer-email:
description: "Regular expression to check commit author email"
required: false
default: ".*"
re-commit-committer-name:
description: "Regular expression to check commit author name"
required: false
default: ".*"
re-commit-message-body:
description: "Regular expression to check commit message body"
required: false
default: ".*"
re-commit-message-split:
description: "Regular expression to split commit message into subject and body"
required: false
default: "([^\n]*)(?:\n\n(.*))?"
re-commit-message-subject:
description: "Regular expression to check commit message subject"
required: false
default: "^[A-Z].*((?!\\.).)$"
re-pull-request-title:
description: "Regular expression to check pull request title"
required: false
default: "^[A-Z].*((?!\\.).)$"
re-tag-name:
description: "Regular expression to check tag name"
required: false
default: ".*"
runs:
using: "node20"
main: "index.js"