forked from cakeinpanic/jira-description-action
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathaction.yml
More file actions
executable file
·42 lines (41 loc) · 1.5 KB
/
Copy pathaction.yml
File metadata and controls
executable file
·42 lines (41 loc) · 1.5 KB
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
name: 'jira-labels-sync-action'
description: 'Sync JIRA issue labels to your GitHub pull request.'
author: 'nicoandres.rodriguez@gmail.com'
inputs:
github-token:
description: 'Token used to sync PR 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'
labels:
description: 'label mapping from Jira labels to Github in json format. Github labels should exist'
required: true
runs:
using: 'node16'
main: 'lib/index.js'
branding:
icon: 'terminal'
color: 'blue'