-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask.json
More file actions
65 lines (65 loc) · 1.79 KB
/
Copy pathtask.json
File metadata and controls
65 lines (65 loc) · 1.79 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
{
"id": "1d0b08a9-ac33-4f02-9a0e-fa2ad227d776",
"name": "WorktreeComment",
"friendlyName": "Worktree",
"description": "Post an Open workspace link on every new work item",
"author": "worktree-io",
"version": {
"Major": 1,
"Minor": 0,
"Patch": 0
},
"inputs": [
{
"name": "token",
"type": "string",
"label": "Access Token",
"defaultValue": "$(System.AccessToken)",
"required": false,
"helpMarkDown": "ADO access token used to post the comment. Defaults to the built-in System.AccessToken."
},
{
"name": "workItemId",
"type": "string",
"label": "Work Item ID",
"defaultValue": "$(System.WorkItemId)",
"required": true,
"helpMarkDown": "The ID of the work item to comment on. Populated automatically by the service hook trigger."
},
{
"name": "codeHost",
"type": "pickList",
"label": "Code Host",
"defaultValue": "github",
"required": false,
"helpMarkDown": "The code hosting service for the paired repository.",
"options": {
"github": "GitHub",
"gitlab": "GitLab"
}
},
{
"name": "gitlabOwner",
"type": "string",
"label": "GitLab Owner",
"defaultValue": "",
"required": false,
"helpMarkDown": "The GitLab namespace (user or group) of the paired repository. Required when Code Host is GitLab.",
"visibleRule": "codeHost = gitlab"
},
{
"name": "gitlabRepo",
"type": "string",
"label": "GitLab Repository",
"defaultValue": "",
"required": false,
"helpMarkDown": "The GitLab repository name. Required when Code Host is GitLab.",
"visibleRule": "codeHost = gitlab"
}
],
"execution": {
"Node20_1": {
"target": "dist/index.mjs"
}
}
}