From b26a456705e08a70787569755042091dc5f0729a Mon Sep 17 00:00:00 2001 From: Ahmad Nassri Date: Thu, 13 May 2021 12:17:29 -0400 Subject: [PATCH] fix: skipped runs are not a failure --- action/lib/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action/lib/index.js b/action/lib/index.js index 990a5ca..6b46209 100644 --- a/action/lib/index.js +++ b/action/lib/index.js @@ -45,7 +45,7 @@ export default async function ({ token, delay, timeout, sha, ignore }) { process.exit(0) } - const successful = ['success'] + const successful = ['success', 'skipped'] if (ignore) successful.push('cancelled') while (result.find(run => !successful.includes(run.conclusion))) {