We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
check:test
1 parent 5440c59 commit d8a912cCopy full SHA for d8a912c
1 file changed
.gitlab-ci.yml
@@ -74,6 +74,7 @@ check:nix-dry:
74
75
check:test-generate:
76
stage: check
77
+ needs: []
78
script:
79
- mkdir -p ./tmp
80
- >
@@ -102,6 +103,12 @@ check:test:
102
103
- artifact: tmp/test-pipelines.yml
104
job: check:test-generate
105
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
112
113
build:merge:
114
stage: build
0 commit comments