Commit dd46a2d2 authored by Ruben ten Hove's avatar Ruben ten Hove
Browse files

Merge branch 'b-kamphorst-main-patch-72331' into 'main'

fix: improve logging if badge creation is disabled

See merge request just-ci/templates!190
parents 5366bd92 af3427ad
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -68,6 +68,7 @@ include:
  script:
    - |
      if [ "${DISABLE_BADGE_CREATION}" != "" ]; then
        echo "[*] Badge creation is disabled."
        exit 0
      elif [ "${GL_TOKEN}" == "" ]; then
        echo "[!] No GL_TOKEN set. If you want to disable badge creation, set a variable called DISABLE_BADGE_CREATION to any value."