forked from GsActions/commit-message-checker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
36 lines (36 loc) · 1.15 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
name: 'GS Commit Message Checker'
description: 'Check the commit message against a regex pattern'
author: 'Gilbertsoft LLC'
inputs:
pattern:
description: 'A regex pattern to check if a commit message is valid.'
required: true
flags:
description: 'Expression flags change how the expression is interpreted.'
required: false
default: 'gm'
error:
description: 'A error message which will be returned in case of an error.'
required: true
excludeTitle:
description: 'Setting this input to true will exclude the Pull Request title from the check.'
required: false
default: 'false'
excludeDescription:
description: 'Setting this input to true will exclude the Pull Request description from the check.'
required: false
default: 'false'
checkAllCommitMessages:
description: 'Setting this input to true will check all Pull Request commits'
required: false
default: 'false'
accessToken:
description: 'you must provide GITHUB_TOKEN to this input if checkAllCommitMessages is true'
required: false
default: 'false'
runs:
using: node16
main: dist/index.js
branding:
icon: 'check'
color: 'blue'