Update .gitlab-ci.yml
This commit is contained in:
parent
3859c3fe19
commit
d3d1f6f911
@ -12,5 +12,6 @@ sonarqube-check:
|
||||
script:
|
||||
- sonar-scanner
|
||||
allow_failure: true
|
||||
rules:
|
||||
- if: $CI_COMMIT_BRANCH == 'main'
|
||||
only:
|
||||
- main # or the name of your main branch
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user