Skip to content
Snippets Groups Projects
Commit 0eae6943 authored by E. Madison Bray's avatar E. Madison Bray
Browse files

[ci] improve CI pipeline workflow rules

parent dea7d6cd
No related branches found
No related tags found
1 merge request!1Limit when pipeline jobs run
Pipeline #1242 failed
stages:
- "test"
# Override the default workflow rules to only run pipelines on the master
# branch, merge requests, or branches that contain the string 'ci/'
workflow:
rules:
- if: $CI_MERGE_REQUEST_ID
- if: $CI_COMMIT_TAG
- if: $CI_COMMIT_REF_NAME == "master" || $CI_COMMIT_REF_NAME =~ /^(.+\/)?ci[-\/].+/
.test: &test
before_script:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment