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 }