-
Notifications
You must be signed in to change notification settings - Fork 0
/
action.yml
37 lines (37 loc) · 1.26 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
name: "Update DevOps Work Item State"
description: "This action will update the state of a work item state in Boards within Azure DevOps"
author: "Steve Doggett"
branding:
icon: "git-pull-request"
color: "black"
inputs:
ado_token:
required: true
description: 'Azure DevOps Personal Access Token - must have "WorkItems (Read and Write)" permission'
gh_token:
required: true
description: 'Github Personal Access Token'
organisation:
required: true
description: 'Name of the Azure DevOps organization - e.g. orbitalwitness for dev.azure.com/orbitalwitness'
gh_repo_owner:
required: true
description: 'Name of the owner of the Github repository'
gh_repo:
required: true
description: 'Name of the Github repository'
pull_number:
required: true
description: 'The number of the pull request'
new_state:
required: true
description: 'The string representing the new state of the Azure DevOps work item'
description:
required: false
description: 'Value to append to the System.Description field of the work item'
closed_state:
required: false
description: 'The string that represents the closed state of a work item in Azure DevOps. Defaults to "Closed"'
runs:
using: "node16"
main: "dist/index.js"