danger: Incorrect MR ID for GitLab with Drone
Report
What did you do?
I ran Danger on Drone using a private GitLab instance.
What did you expect to happen?
I expected Danger to run correctly.
What happened instead?
Danger ran, but failed because the ID used to fetched the merge request details was the iid(the project specific merge request id) not the global merge request id that the API expects.
Your Environment
- Which CI are you running on? Drone
- Are you running the latest version of Danger? Yes
About this issue
- Original URL
- State: open
- Created 8 years ago
- Comments: 44 (36 by maintainers)
I’ve updated
danger-gitlabto 4.3.1 ( to coincide with when we introduced these changes ) which relies ongitlab4.0.0. - thanks @asedgeGuys this is awesome . I’m dropping the workaround and coming back to the official version. Many thanks