Commit ce04cea1 authored by Zach Rice's avatar Zach Rice

Allow merge commits for SD

Changelog: fixed
parent d9849068
...@@ -51,7 +51,7 @@ secret_detection: ...@@ -51,7 +51,7 @@ secret_detection:
else else
# determine commit range so that we can fetch the appropriate depth # determine commit range so that we can fetch the appropriate depth
# check the exit code to determine if we need to limit the commit_list.txt to CI_COMMIT_SHA. # check the exit code to determine if we need to limit the commit_list.txt to CI_COMMIT_SHA.
if ! git log --no-merges --pretty=format:"%H" ${CI_COMMIT_BEFORE_SHA}..${CI_COMMIT_SHA} >${CI_COMMIT_SHA}_commit_list.txt; if ! git log --pretty=format:"%H" ${CI_COMMIT_BEFORE_SHA}..${CI_COMMIT_SHA} >${CI_COMMIT_SHA}_commit_list.txt;
then then
echo "unable to determine commit range, limiting to ${CI_COMMIT_SHA}" echo "unable to determine commit range, limiting to ${CI_COMMIT_SHA}"
echo ${CI_COMMIT_SHA} >${CI_COMMIT_SHA}_commit_list.txt echo ${CI_COMMIT_SHA} >${CI_COMMIT_SHA}_commit_list.txt
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment