From 9dbab90dbee0f08d659f3d741a611732ec3c27f7 Mon Sep 17 00:00:00 2001 From: Pedro Pombeiro Date: Mon, 21 Jan 2019 19:26:17 +0100 Subject: [PATCH] See if this is causing unfinished runs --- src/index.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/index.ts b/src/index.ts index 1dc96c9..3533b66 100644 --- a/src/index.ts +++ b/src/index.ts @@ -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)