Skip to content

Commit f2ad1d4

Browse files
authored
fix the upstream-dev CI (#95)
1 parent 7bf1cc7 commit f2ad1d4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

.github/workflows/nightly.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,17 +157,15 @@ jobs:
157157
}
158158
}
159159
}`;
160+
160161
const variables = {
161162
owner: context.repo.owner,
162163
name: context.repo.repo,
163164
label: 'CI',
164165
creator: "github-actions[bot]"
165166
}
166167
const result = await github.graphql(query, variables)
167-
const issue_info = result.repository.issues.edges[0].node
168-
// If no issue is open, create a new issue, else update the
169-
// body of the existing issue.
170-
if (typeof issue_info.number === 'undefined') {
168+
171169
// If no issue is open, create a new issue,
172170
// else update the body of the existing issue.
173171
if (result.repository.issues.edges.length === 0) {

0 commit comments

Comments
 (0)