File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -122,7 +122,7 @@ jobs:
122
122
shopt -s globstar
123
123
python .github/workflows/parse_logs.py logs/**/*-log
124
124
- name : Report failures
125
- uses : actions/github-script@v4.1
125
+ uses : actions/github-script@v5
126
126
with :
127
127
github-token : ${{ secrets.GITHUB_TOKEN }}
128
128
script : |
@@ -158,15 +158,15 @@ jobs:
158
158
// If no issue is open, create a new issue,
159
159
// else update the body of the existing issue.
160
160
if (result.repository.issues.edges.length === 0) {
161
- github.issues.create({
161
+ github.rest. issues.create({
162
162
owner: variables.owner,
163
163
repo: variables.name,
164
164
body: issue_body,
165
165
title: title,
166
166
labels: [variables.label]
167
167
})
168
168
} else {
169
- github.issues.update({
169
+ github.rest. issues.update({
170
170
owner: variables.owner,
171
171
repo: variables.name,
172
172
issue_number: result.repository.issues.edges[0].node.number,
You can’t perform that action at this time.
0 commit comments