Skip to content

Commit

Permalink
chore: update not PR condition for GH workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
sayali10 authored Jun 4, 2024
1 parent 810b9ca commit 0d3588e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/ci_source/providers/GitHubActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`."
Expand Down

0 comments on commit 0d3588e

Please sign in to comment.