From 6fa13fefb393227eec5c9710d92e8bffa917546a Mon Sep 17 00:00:00 2001 From: Shohei Ueda <30958501+peaceiris@users.noreply.github.com> Date: Mon, 16 Mar 2020 12:03:08 +0900 Subject: [PATCH] fix: skip on fork (#159) --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 45fdc4dd1..aff2040db 100644 --- a/src/main.ts +++ b/src/main.ts @@ -13,7 +13,7 @@ export async function run(): Promise { showInputs(inps); const eventName = context.eventName; - if (eventName === 'pull_request') { + if (eventName === 'pull_request' || eventName === 'push') { // eslint-disable-next-line @typescript-eslint/no-explicit-any const isForkRepository = (context.payload as any).repository.fork; const isSkipOnFork = await skipOnFork(