generated from actions/typescript-action
-
Notifications
You must be signed in to change notification settings - Fork 5
/
action.yml
76 lines (76 loc) · 2.36 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
name: 'workflow artifact pull request comment'
description: 'add generated comment with urls to associated workflow artifacts to pull request or associated issues'
author: 'Tony Hallett'
inputs:
pullState:
description: used to restrict the number of pull requests for pull workflow - all | closed | open
required: false
default: open
workflowPayload:
description: payload if using https://github.com/tonyhallett/workflow-run-conclusion-dispatch-action
required: false
errorNoArtifacts:
description: fail if no artifacts
required: false
default: 'true'
addTo:
description: add to pull or issues or pullandissues
required: true
default: pull
prefix:
description: prefix the comment
required: false
suffix:
description: suffix the comment
required: false
includes:
description: comma delimited names of artifacts to include
required: false # defaults to all of them
format:
description: format to be applied to all
required: false
default: url # set to name for (name)[url] or supply custom "Whatever ({name})[{url}] etc"
includesFormatted:
description: instead of applying same format to all - array of objects {name:string,format?:string}
required: false
caseSensitive:
description: should matching be case sensitive
required: false
default: 'false'
closeWords:
description: words that indicate associated issue
required: false
default: 'close, closes, closed, fix, fixes, fixed, resolve, resolves, resolved'
usePullTitle:
description: look in the pull request title for issues
required: false
default: 'true'
usePullBody:
description: look in the pull request body for issues
required: false
default: 'true'
useCommitMessages:
description: look in the pull request commit messages for issues
required: false
default: 'true'
useBranch:
description: look in the pull request branch name for issues
required: false
default: 'true'
branchIssuesWords:
description: words that form part of an issue branch name
required: false
default: 'issue, issues'
branchDelimiters:
description: delimiters of a matching branch name
required: false
default: '_, -'
outputs:
commentIds:
description: ids of created comments
runs:
using: 'node12'
main: 'dist/index.js'
branding:
icon: 'link'
color: 'green'