Loading other/gitlab/project-settings.yml +3 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ gitlab:project-settings: AUTO_FIX: "false" script: - | if [ -z ${GL_TOKEN} ]; then if [ -z "${GL_TOKEN}" ]; then echo "[!] You need to set a variable called 'GL_TOKEN' with a Project Access Token with either 'read_api' or 'api' scope access." exit 1 fi Loading Loading @@ -54,4 +54,5 @@ gitlab:project-settings: echo "[+] All good!" fi needs: [] allow_failure: true rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH Loading
other/gitlab/project-settings.yml +3 −2 Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ gitlab:project-settings: AUTO_FIX: "false" script: - | if [ -z ${GL_TOKEN} ]; then if [ -z "${GL_TOKEN}" ]; then echo "[!] You need to set a variable called 'GL_TOKEN' with a Project Access Token with either 'read_api' or 'api' scope access." exit 1 fi Loading Loading @@ -54,4 +54,5 @@ gitlab:project-settings: echo "[+] All good!" fi needs: [] allow_failure: true rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH