forked from invakid404/jira-ticket-validator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
29 lines (29 loc) · 884 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
name: 'Jira ticket validator'
description: 'Verify that given fields are valid on a Jira ticket'
author: 'invakid404'
inputs:
ticket:
required: false
description: "Jira ticket to validate; action is a noop if not supplied"
fields:
required: false
description: "Comma-separated list of fields to validate; action just verifies the ticket exists if not supplied"
defaultPredicate:
required: false
description: "Default predicate to use to validate values"
default: 'value != null'
label:
required: false
description: "Label to add to the PR if ticket isn't valid"
host:
required: true
description: "Hostname of Jira instance"
username:
required: false
description: "Username to use for Jira"
password:
required: false
description: "Password/token to use for Jira"
runs:
using: 'node12'
main: 'dist/index.js'