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 3737 with :
3838 github-token : ${{secrets.GITHUB_TOKEN}}
3939 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+ })
4146` ` `
4247
4348### Apply a label to an issue
5459 with :
5560 github-token : ${{secrets.GITHUB_TOKEN}}
5661 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+ })
5868` ` `
5969
6070### Welcome a first-time contributor
@@ -90,7 +100,12 @@ jobs:
90100 }
91101 }
92102
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+ })
94109` ` `
95110
96111### Download data from a URL
You can’t perform that action at this time.
0 commit comments