-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
48 lines (46 loc) · 1.69 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
44
45
46
47
48
name: 'Trello integration'
description: 'Trello integration'
inputs:
github-token:
description: 'Token used to update PR description and add labels. Can be passed in using {{ secrets.GH_TOKEN }} (automatically added by GitHb)'
required: true
trello-api-key:
description: 'Trello app API key. https://developer.atlassian.com/cloud/trello/guides/rest-api/api-introduction/'
required: true
trello-token:
description: 'API Token used to access the Trello REST API. Must have access to selected Trello board.'
required: true
trello-board-id:
description: 'Trello board ID.'
required: true
pr-enforce-card-exists:
description: 'Whether to enforce Trello card code existence in PR title.'
required: false
default: 'true'
pr-update-title:
description: 'Whether to update PR title with Trello card title.'
required: false
default: 'true'
pr-update-description:
description: 'Whether to update PR body to include Trello card description.'
required: false
default: 'true'
pr-card-code-regexp:
description: 'Regexp used to match Trello card code in PR title.'
required: false
default: '^\[(\w+)\]'
pr-skip-base-ref-regexp:
description: 'Skip checks for PRs with a base ref matching this regexp (target ref: ie "^deploy/").'
required: false
default: ''
pr-skip-head-ref-regexp:
description: 'Skip checks for PRs with a head ref matching this regexp (source ref: ie "^main$", "^hotfix/", "^(main|hotfix/.*)$").'
required: false
default: ''
pr-skip-user-regexp:
description: 'Skip checks when PR user matches this regexp (ie "^dimvic$").'
required: false
default: ''
runs:
using: 'node16'
main: 'index.js'