• trakos's avatar
    Fix head of commit in danger_as_local for drafts and forks · fdc47800
    trakos authored
    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.
    fdc47800
utils.sh 4.61 KB