Skip to content

Commit

Permalink
Merge pull request #1453 from sayali10/danger-log-for-pull_request_ta…
Browse files Browse the repository at this point in the history
…rget

chore: update not PR condition for GH workflow
  • Loading branch information
orta authored Jun 5, 2024
2 parents 810b9ca + 0d3588e commit ef0d432
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 ef0d432

Please sign in to comment.