forked from GsActions/commit-message-checker
-
Notifications
You must be signed in to change notification settings - Fork 13
/
action.yml
36 lines (35 loc) · 1.03 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: 'Commit Message Checker for pull request'
description: 'Check the commit message in pr against a regex pattern'
author: 'Tim'
inputs:
commits:
description: 'commits in json format'
required: true
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: ''
error:
description: 'A error message which will be returned in case of an error.'
required: true
pre_error:
description: 'A error message which will be showed in the begin of errors.'
required: false
default: ''
post_error:
description: 'A error message which will be showed in the end of errors.'
required: false
default: ''
one_pass_all_pass:
description: 'If "true", as long as one commit in the pull-request passes the check, all pass.'
required: false
default: "false"
runs:
using: node16
main: dist/index.js
branding:
icon: 'check'
color: 'blue'