Fix head of commit in danger_as_local for drafts and forks
Variable CI_MERGE_REQUEST_SOURCE_BRANCH_SHA is available only in merged results pipelines. We should fallback to CI_COMMIT_SHA in other use cases, as merged results pipeline is not used for drafts and MRs run against forks.
Showing
Please register or sign in to comment