forked from cakeinpanic/jira-description-action
-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
executable file
·43 lines (43 loc) · 1.56 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
37
38
39
40
41
42
43
name: 'jira-description'
description: 'Add JIRA issue details to your GitHub pull request.'
author: 'cakeinpanic'
inputs:
github-token:
description: 'Token used to update PR description and add labels. Can be passed in using {{ secrets.GITHUB_TOKEN }}'
required: true
jira-token:
description: 'API Token used to access the JIRA REST API. Must have read access to your JIRA Projects & Issues. Format: <jira username>:<jira token>'
required: true
jira-base-url:
description: 'The subdomain of JIRA cloud that you use to access it. Ex: "https://your-domain.atlassian.net"'
required: true
use:
description: 'Where to look for issue key: branch | pr-title | both'
required: false
skip-branches:
description: 'A regex to ignore running on certain branches, like production etc.'
required: false
default: ''
jira-project-key:
description: 'Key of project in jira. First part of issue key'
required: false
default: ''
custom-issue-number-regexp:
description: ' Custom regexp to extract issue number from branch name.'
required: false
default: ''
fail-when-jira-issue-not-found:
description: ' Mark the PR status check as failed when a jira issue is not found'
required: false
default: 'false'
outputs:
jira-issue-found:
description: 'Indication whether a jira issue was found or not'
jira-issue-source:
description: 'Indication how the jira issue was found, by - branch | pr-title | null'
runs:
using: 'node20'
main: 'lib/index.js'
branding:
icon: 'terminal'
color: 'blue'