summaryrefslogtreecommitdiff
path: root/scripts/utils.sh
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-27 18:13:16 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-27 18:13:16 +0000
commit4c5b7f992f2ee3134409559e35350748425fb467 (patch)
treeedabd5b6b177a0f982d27ecddd45de9dccbe6186 /scripts/utils.sh
parentf50cb4f63fae6f02a0b8d9c3a95f29b3b4f79516 (diff)
downloadgitlab-ce-4c5b7f992f2ee3134409559e35350748425fb467.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'scripts/utils.sh')
-rw-r--r--scripts/utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/utils.sh b/scripts/utils.sh
index faabc151963..85c311087ea 100644
--- a/scripts/utils.sh
+++ b/scripts/utils.sh
@@ -172,5 +172,5 @@ function danger_as_local() {
# Force danger to skip CI source GitLab and fallback to "local only git repo".
unset GITLAB_CI
# We need to base SHA to help danger determine the base commit for this shallow clone.
- bundle exec danger dry_run --fail-on-errors=true --verbose --base="${CI_MERGE_REQUEST_DIFF_BASE_SHA}"
+ bundle exec danger dry_run --fail-on-errors=true --verbose --base="${CI_MERGE_REQUEST_DIFF_BASE_SHA}" --head="${CI_MERGE_REQUEST_SOURCE_BRANCH_SHA}"
}