Commit 5dba6982 authored by Federico Falconieri's avatar Federico Falconieri
Browse files

Merge branch 'hoverht-master-patch-49870' into 'master'

fix: only run on main

See merge request ci/templates!90
parents bc2ea0de ca0ecf19
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -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
@@ -54,4 +54,5 @@ gitlab:project-settings:
        echo "[+] All good!"
      fi
  needs: []
  allow_failure: true
  rules:
    - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH