When we run danger from Git Actions workflow, danger shows below message for every run
Note: Running Danger on with generalised GitHub Actions support, this does not include `danger.github.pr`.
If you expected a PR run, change your workflow's 'on' to be pull_request.
danger.github.pr is available for pull_request_target. Despite of that we keep seeing this message for every run.
Open PR with following Git Actions workflow config
name: PR Checks
on:
pull_request_target:
types: [opened, reopened, synchronize, ready_for_review]
Run Danger check
It will log this message every time
Note: Running Danger on with generalised GitHub Actions support, this does not include `danger.github.pr`.
If you expected a PR run, change your workflow's 'on' to be pull_request.
Expected behaviordanger.github.pr is available for pull_request_target so Danger should not show this message.
Describe the bug
When we run danger from Git Actions workflow, danger shows below message for every run
danger.github.pr
is available forpull_request_target
. Despite of that we keep seeing this message for every run.This behavior was introduced with this change..
To Reproduce Steps to reproduce the behavior:
Expected behavior
danger.github.pr
is available forpull_request_target
so Danger should not show this message.Screenshots
Your Environment
Additional context
Fix: https://github.com/danger/danger-js/pull/1453