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
if [ -e "$harness" ]
then
if [["$url" != *"gitlab-org/security/"*]]
if [[ "$url" != *"gitlab-org/security/"* ]]
then
echo "Pushing to remotes other than gitlab.com/gitlab-org/security has been disabled!"
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