-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
33 lines (30 loc) · 1.12 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
name: Validate PR Title
description: Validates the PR title to ensure it meets the contributing guidelines for the repo.
inputs:
github-token:
description: The value of secrets.GITHUB_TOKEN
type: string
required: true
jira-url:
description: The base URL of the relevant Jira instance to link to in the comment
type: string
required: true
match-and-extract-regexp-string:
description: A stringified RegExp to match against, which should also contain a capturing group containing the structure of the Jira ID to extract
type: string
required: true
capturing-group-containing-id:
description: (Required if "update-description-with-link" is true) Specify which capturing group (by number) within the given `match-and-extract-regexp-string` input contains the structure of the Jira ID
type: number
required: false
update-description-with-link:
description: Whether or not the matched and extracted Jira ID should be appended to the PR description
type: boolean
required: true
default: true
runs:
using: node20
main: dist/index.js
branding:
icon: "terminal"
color: "blue"