From f79dd8938baa32ea05e536c625f6094c8ff897e9 Mon Sep 17 00:00:00 2001 From: Mars Lan Date: Mon, 16 Oct 2023 04:10:36 -0700 Subject: [PATCH] Add support for GitHub Merge Queues --- src/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.ts b/src/index.ts index 3f20cc8..0b53848 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,7 +11,7 @@ async function run(): Promise { core.debug(`coverageFile: ${coverageFile}`) const eventName = context.eventName - if (eventName !== 'pull_request') { + if (eventName !== 'pull_request' && eventName !== 'merge_group') { core.setFailed(`action support only pull requests but event is ${eventName}`) return }