generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 1
/
action.yml
37 lines (37 loc) · 1022 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
28
29
30
31
32
33
34
35
36
37
name: 'PR Title Jira Linker'
description: 'Adding JIRA Ticket ID into PR Title automatically'
author: 'Sly777'
inputs:
conventionalCommitPattern:
required: false
description: 'Conventional Commit Pattern'
default: '^([a-z]+)(\\([a-z0-9.,-_ ]+\\))?!?: ([\\w \\S]+)$'
jiraTicketPattern:
required: false
description: 'JIRA ticket pattern'
default: '([A-Z]+-\\d+)'
messagePattern:
required: false
description: 'Message Pattern'
default: '[$J] $M'
ignoredBranchesPattern:
required: false
description: 'Ignored Branch Pattern'
default: '^(master|main|dev|develop|development|release|(nojira-.*))$'
replaceAll:
required: false
description: 'Replacing all texts on title'
default: 'true'
outputs:
errortype:
description: 'branchname | prtitle | jiraonbranch | branchignore'
branchname:
description: 'Branch Name'
title:
description: 'PR Title'
runs:
using: 'node16'
main: 'dist/index.js'
branding:
icon: "refresh-cw"
color: "purple"