See if this is causing unfinished runs

This commit is contained in:
Pedro Pombeiro 2019-01-21 19:26:17 +01:00
parent 902dc55528
commit 9dbab90dbe
No known key found for this signature in database
GPG Key ID: A65DEB11E4BBC647
1 changed files with 0 additions and 3 deletions

View File

@ -13,9 +13,6 @@ export = (app: Application) => {
app.on(['check_suite.requested'], async (context: Context) => {
await checkSuiteAsync(context, context.payload.check_suite)
})
app.on(['check_suite.completed'], async (context: Context) => {
delete pendingChecks[context.payload.check_suite.head_sha]
})
app.on(['check_run.rerequested'], async (context: Context) => {
const { check_suite } = context.payload.check_run
await checkSuiteAsync(context, check_suite)