GIT_SILENT git: allow silent commits

This commit is contained in:
Bixilon 2021-12-08 17:08:01 +01:00
parent 158bb39a85
commit d97ff68f52
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -13,8 +13,7 @@ stages:
build:
stage: build
only:
- master
- merge_requests
rules:
- if: $CI_COMMIT_MESSAGE =~ '/^((?!GIT_SILENT).)*$/' && ($CI_PIPELINE_SOURCE == "merge_request_event" || $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == "master")
script:
- 'mvn $MAVEN_CLI_OPTS compile'