Skip to content

Run danger against MR source branch

Albert Salim requested to merge as-fix-danger-for-merged-result into master

What does this MR do?

This MR reinstates danger to run against the MR source branch ($CI_MERGE_REQUEST_SOURCE_BRANCH_SHA) instead of the merge result commit.

Example job: https://gitlab.com/gitlab-org/gitlab/-/jobs/453313826 Example correct Danger comment: !26142 (comment 295832757)

In order to checkout the commit, we need git-lfs installed in the danger runner image. gitlab-build-images!278 (closed)

Closes #208282 (closed)

Edited by Albert Salim

Merge request reports

Loading