Commit 538d893b authored by Mayra Cabrera's avatar Mayra Cabrera

Merge branch 'fixes-security-harness-script' into 'master'

Fixes security harness check

See merge request gitlab-org/gitlab!27427
parents e2f1f359 d5d13785
...@@ -28,7 +28,7 @@ HOOK_DATA = <<~HOOK ...@@ -28,7 +28,7 @@ HOOK_DATA = <<~HOOK
if [ -e "$harness" ] if [ -e "$harness" ]
then then
if [["$url" != *"gitlab-org/security/"*]] if [[ "$url" != *"gitlab-org/security/"* ]]
then then
echo "Pushing to remotes other than gitlab.com/gitlab-org/security has been disabled!" echo "Pushing to remotes other than gitlab.com/gitlab-org/security has been disabled!"
echo "Run scripts/security-harness to disable this check." echo "Run scripts/security-harness to disable this check."
......
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