ci-includes-yml/rules/rules.yml

18 lines
504 B
YAML
Raw Normal View History

2024-05-05 13:32:48 -05:00
.default_rules:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/'
.sonarqube_rules:
rules:
2024-05-05 13:39:22 -05:00
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID
2024-05-05 13:32:48 -05:00
exists:
- "sonar-project.properties"
2024-05-05 13:39:22 -05:00
.default_mr_rules:
rules:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_BRANCH =~ '/^release/' || $CI_MERGE_REQUEST_IID
.mr_only_rules:
rules:
- if: $CI_MERGE_REQUEST_IID