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

Merge branch 'badges-fix' into 'beta'

ci: dont create badges outside version tags

See merge request just-ci/templates!24
parents 41bba360 156c4511
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -47,7 +47,7 @@

        if [ "${STATUS_CODE:0:1}" = "2" ]; then
          echo "[+] Badge set successfully."
        elif "${STATUS_CODE}" = "403" ]; then
        elif [ "${STATUS_CODE}" = "403" ]; then
          echo "[!] Access Forbidden. Does GL_TOKEN have access to badge creation? A Personal Access Token requires at least a Maintainer user."
          exit 1
        else