File tree Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Expand file tree Collapse file tree 1 file changed +18
-3
lines changed Original file line number Diff line number Diff line change 37
37
with :
38
38
github-token : ${{secrets.GITHUB_TOKEN}}
39
39
script : |
40
- github.issues.createComment({...context.issue, body: '👋 Thanks for reporting!'})
40
+ github.issues.createComment({
41
+ issue_number: context.issue,
42
+ owner: context.owner,
43
+ repo: context.repo,
44
+ body: '👋 Thanks for reporting!'
45
+ })
41
46
` ` `
42
47
43
48
### Apply a label to an issue
54
59
with :
55
60
github-token : ${{secrets.GITHUB_TOKEN}}
56
61
script : |
57
- github.issues.addLabels({...context.issue, labels: ['Triage']})
62
+ github.issues.addLabels({
63
+ issue_number: context.issue,
64
+ owner: context.owner,
65
+ repo: context.repo,
66
+ labels: ['Triage']
67
+ })
58
68
` ` `
59
69
60
70
### Welcome a first-time contributor
@@ -90,7 +100,12 @@ jobs:
90
100
}
91
101
}
92
102
93
- await github.issues.createComment({...context.issue, body: 'Welcome, new contributor!'})
103
+ await github.issues.createComment({
104
+ issue_number: context.issue,
105
+ owner: context.owner,
106
+ repo: context.repo,
107
+ body: 'Welcome, new contributor!'
108
+ })
94
109
` ` `
95
110
96
111
### Download data from a URL
You can’t perform that action at this time.
0 commit comments