From 0d3588e0029cf953770c6b2c18bf018191075c77 Mon Sep 17 00:00:00 2001 From: sayali10 Date: Tue, 4 Jun 2024 14:59:55 -0700 Subject: [PATCH] chore: update not PR condition for GH workflow --- source/ci_source/providers/GitHubActions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/ci_source/providers/GitHubActions.ts b/source/ci_source/providers/GitHubActions.ts index 6254bbd59..6181f0ef4 100644 --- a/source/ci_source/providers/GitHubActions.ts +++ b/source/ci_source/providers/GitHubActions.ts @@ -277,7 +277,7 @@ export class GitHubActions implements CISource { export const githubActionsWorkflowWarningCheck = () => { const eventName = process.env.GITHUB_EVENT_NAME - const isPR = eventName === "pull_request" + const isPR = eventName === "pull_request" || eventName === "pull_request_target" if (!isPR) { console.log( "Note: Running Danger on with generalised GitHub Actions support, this does not include `danger.github.pr`."