Skip to content
Snippets Groups Projects
Commit 26965e91 authored by Pierre Smeyers's avatar Pierre Smeyers
Browse files

fix: sanitize empty variable test expressions

rewrite all '$SOME_VAR' test expressions to '($SOME_VAR != null && $SOME_VAR != "")'
parent 56e4fdab
No related branches found
No related tags found
No related merge requests found
......@@ -60,7 +60,7 @@ gitlab-ci-lint:
- ci_lint
rules:
# enabled if $GITLAB_TOKEN and GITLAB_CI_FILES are set
- if: '$GITLAB_TOKEN && $GITLAB_CI_FILES'
- if: '($GITLAB_TOKEN != null && $GITLAB_TOKEN != "") && $GITLAB_CI_FILES'
check-links:
image:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment