-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathaction.yml
More file actions
28 lines (28 loc) · 803 Bytes
/
action.yml
File metadata and controls
28 lines (28 loc) · 803 Bytes
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
name: 'Bad commit message blocker'
description: 'Inhibit commits with bad messages from getting merged'
inputs:
subject_limit:
description: 'The maximum allowed length for a commit subject'
required: true
default: 50
body_limit:
description: 'The maximum allowed length for a line in the commit body'
required: true
default: 72
conventional_commit:
description: 'Whether to allow conventional commits, e.g. "feat: add new feature"'
required: false
default: false
remote_branch:
description: 'The name of the remote branch you are trying to merge with'
required: true
default: 'master'
github_token:
description: 'The GitHub token'
required: true
runs:
using: 'docker'
image: 'Dockerfile'
branding:
icon: 'check'
color: 'green'