-
Notifications
You must be signed in to change notification settings - Fork 26
/
action.yml
41 lines (41 loc) · 1.42 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
name: 'Teamwork GitHub Sync'
description: 'This action helps you to sync your PRs with tasks in Teamwork to streamline team collaboration and your development workflows.'
branding:
icon: 'alert-circle'
color: 'gray-dark'
inputs:
GITHUB_TOKEN:
description: 'GitHub token'
required: true
TEAMWORK_URI:
description: 'Teamwork URI'
required: true
TEAMWORK_API_TOKEN:
description: 'Teamwork API token'
required: true
AUTOMATIC_TAGGING:
description: 'Do you want to enable automatic tagging: true/false'
required: false
BOARD_COLUMN_OPENED:
description: 'The case-sensitive column name of the column you would like the task to be moved to once the PR has been opened'
required: false
default: ''
BOARD_COLUMN_MERGED:
description: 'The case-sensitive column name of the column you would like the task to be moved to once the PR has been merged'
required: false
default: ''
BOARD_COLUMN_CLOSED:
description: 'The case-sensitive column name of the column you would like the task to be moved to if the PR was closed without being merged'
required: false
default: ''
runs:
using: 'docker'
image: 'Dockerfile'
args:
- ${{ inputs.GITHUB_TOKEN }}
- ${{ inputs.TEAMWORK_URI }}
- ${{ inputs.TEAMWORK_API_TOKEN }}
- ${{ inputs.AUTOMATIC_TAGGING }}
- ${{ inputs.BOARD_COLUMN_OPENED }}
- ${{ inputs.BOARD_COLUMN_MERGED }}
- ${{ inputs.BOARD_COLUMN_CLOSED }}