forked from Slashgear/action-check-pr-title
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
27 lines (27 loc) · 760 Bytes
/
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
name: "Check pull request title"
description: "Github action to check Pull Request title based on JS Regexp"
inputs:
regexp:
description: |-
Regexp (as String) to validate the pull request title.
Multiple expressiong should be separated by \n (newline).
Example:
regexp: |-
^[A-Z].+$
^[0-9].+$
required: true
default: ".+"
flags:
description: "Regexp flags of the object."
required: false
default: ""
helpMessage:
description: "Help message displayed in the action execution logs to help the user understand how to correct the title of the Pull Request."
required: false
default: ""
runs:
using: "node20"
main: "dist/index.js"
branding:
icon: "type"
color: "gray-dark"