File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 35
35
steps :
36
36
- uses : actions/github-script@0.3.0
37
37
with :
38
- github-token : ${{github.token }}
38
+ github-token : ${{secrets.GITHUB_TOKEN }}
39
39
script : |
40
40
github.issues.createComment({...context.issue, body: '👋 Thanks for reporting!'})
41
41
` ` `
52
52
steps :
53
53
- uses : actions/github-script@0.2.0
54
54
with :
55
- github-token : ${{github.token }}
55
+ github-token : ${{secrets.GITHUB_TOKEN }}
56
56
script : |
57
57
github.issues.addLabels({...context.issue, labels: ['Triage']})
58
58
` ` `
68
68
steps :
69
69
- uses : actions/github-script@0.2.0
70
70
with :
71
- github-token : ${{github.token }}
71
+ github-token : ${{secrets.GITHUB_TOKEN }}
72
72
script : |
73
73
// Get a list of all issues created by the PR opener
74
74
// See: https://octokit.github.io/rest.js/#pagination
@@ -108,7 +108,7 @@ jobs:
108
108
steps:
109
109
- uses: actions/github-script@0.2.0
110
110
with:
111
- github-token: ${{github.token }}
111
+ github-token: ${{secrets.GITHUB_TOKEN }}
112
112
script: |
113
113
const diff_url = context.payload.pull_request.diff_url
114
114
const result = await github.request(diff_url)
You can’t perform that action at this time.
0 commit comments