We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7bf1cc7 commit f2ad1d4Copy full SHA for f2ad1d4
.github/workflows/nightly.yml
@@ -157,17 +157,15 @@ jobs:
157
}
158
159
}`;
160
+
161
const variables = {
162
owner: context.repo.owner,
163
name: context.repo.repo,
164
label: 'CI',
165
creator: "github-actions[bot]"
166
167
const result = await github.graphql(query, variables)
- 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') {
171
// If no issue is open, create a new issue,
172
// else update the body of the existing issue.
173
if (result.repository.issues.edges.length === 0) {
0 commit comments