You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hmmm... potentially this issue is on Drone or my setup of it. Seems DRONE_PULL_REQUEST is not being set, if hardcode the DRONE_PULL_REQUEST env var, danger will run aok.
environment
# hardcoded the DRONE_PULL_REQUEST to get Danager to run
DRONE_PULL_REQUEST: 1
Thanks @orta from the docs it seems DRONE_PULL_REQUEST is still valid, so I guess this must be more of a local issue with our setup?
As mentioned above if hardcode the DRONE_PULL_REQUEST Danger runs but it doesn't post to the actual PR I'm guessing as theDRONE_PULL_REQUEST is used elsewhere to actually post the messages. 🤔
Report
What did you do?
Added the following to my Drone.yml in the default pipeline
What did you expect to happen?
Created a PR and expected Danger to run and analyse the Pull Request
What happened instead?
Console log from the " run Danger PR validator" Drone step
Your Environment
Which CI are you running on? DroneCI
Are you running the latest version of Danger? 8.6.1
What is your Dangerfile?
I'm just trying to get this hooked up to Drone so ATM my danger file is just
Thanks for the tool, its really useful, have successfully used it with Bitrise.io and this is my first time using with Drone.
The text was updated successfully, but these errors were encountered: