There was an error while loading. Please reload this page.
1 parent 808ffcd commit e134877Copy full SHA for e134877
1 file changed
scripts/all-green.mjs
@@ -64,15 +64,15 @@ async function checkCompleted () {
64
await setTimeout(POLLING_INTERVAL * 60_000)
65
console.log('Retrying.')
66
retries++
67
- return checkCompleted()
+ await checkCompleted()
68
}
69
70
71
async function checkAllGreen () {
72
let checkRuns
73
74
try {
75
- checkCompleted()
76
} finally {
77
checkRuns = await octokit.paginate(
78
'GET /repos/:owner/:repo/commits/:ref/check-runs',
0 commit comments