update rules

This commit is contained in:
2024-05-05 13:39:22 -05:00
parent 08039d982d
commit 30931618cc
5 changed files with 11 additions and 7 deletions

View File

@@ -19,7 +19,7 @@ version:
secret_detection:
stage: validate
rules:
- if: $CI_MERGE_REQUEST_IID
- !reference [.mr_only_rules, rules]
allow_failure: false
sonarqube:

View File

@@ -14,7 +14,7 @@ gobuild:
extends: .golang-build
stage: build
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID
- !reference [.default_mr_rules, rules]
exists:
- "go.mod"