File tree Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Expand file tree Collapse file tree 1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ check:nix-dry:
7474
7575check:test-generate :
7676 stage : check
77+ needs : []
7778 script :
7879 - mkdir -p ./tmp
7980 - >
@@ -102,6 +103,12 @@ check:test:
102103 - artifact : tmp/test-pipelines.yml
103104 job : check:test-generate
104105 strategy : depend
106+ rules :
107+ # Runs on staging commits and ignores version commits
108+ - if : $CI_COMMIT_BRANCH =~ /^feature.*$/ && $CI_COMMIT_TITLE !~ /^[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/
109+ # Manually run on commits other than master and staging and ignore version commits
110+ - if : $CI_COMMIT_BRANCH && $CI_COMMIT_BRANCH !~ /^(?:master|staging)$/ && $CI_COMMIT_TITLE !~ /^[0-9]+\.[0-9]+\.[0-9]+(?:-.*[0-9]+)?$/
111+ when : manual
105112
106113build:merge :
107114 stage : build
You can’t perform that action at this time.
0 commit comments