mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Make sonar conditional on token
This will stop forked repo tests failing
This commit is contained in:
parent
be37f8f49e
commit
18d9ffa6b3
@ -67,6 +67,8 @@ sonarcloud-check:
|
||||
tags:
|
||||
- docker
|
||||
rules:
|
||||
- exists:
|
||||
- $SONAR_TOKEN
|
||||
- if: "$CODE_QUALITY_DISABLED"
|
||||
when: never
|
||||
- if: "$CI_COMMIT_TAG || $CI_COMMIT_BRANCH"
|
||||
|
Loading…
Reference in New Issue
Block a user