From a250399fa3959c5ebce132a05e01da13a48a19ca Mon Sep 17 00:00:00 2001 From: shahar-h Date: Sat, 18 May 2024 19:49:45 +0300 Subject: [PATCH] fix: isPullRequestFromFork returns false for any PR --- src/buildExec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/buildExec.ts b/src/buildExec.ts index 117d53e..49141ad 100644 --- a/src/buildExec.ts +++ b/src/buildExec.ts @@ -31,7 +31,7 @@ const getGitService = (): string => { const isPullRequestFromFork = (): boolean => { if ( - `${context.eventName}` !== 'pull_request' || + `${context.eventName}` !== 'pull_request' && `${context.eventName}` !== 'pull_request_target' ) { return false;