Skip to content

Commit

Permalink
corrected trigger rule to allow proper matching on branches
Browse files Browse the repository at this point in the history
Changelog: None
Signed-off-by: Manuel Zedel <[email protected]>
  • Loading branch information
mzedel committed Jul 8, 2021
1 parent 6a59228 commit fd730cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ publish:tests:

.qa-trigger-template:
rules:
- if: '$CI_COMMIT_BRANCH == /^(master|[0-9]+\.[0-9]+\.x)$/'
- if: '$CI_COMMIT_BRANCH =~ /^(master|[0-9]+\.[0-9]+\.x)$/'
# the following is to prevent an endless loop of qa pipelines caused by downstream pipelines
- if: '$CI_PIPELINE_SOURCE == "pipeline"'
when: never
Expand Down

0 comments on commit fd730cb

Please sign in to comment.