Commit 9f27529e authored by SoftStart Code's avatar SoftStart Code
Browse files

[REF] Fix branch selection for workflow rules

parent 9f3c246d
Pipeline #755513205 passed with stages
in 10 minutes and 55 seconds
......@@ -18,7 +18,7 @@ variables:
workflow:
rules:
# IGNORE PUSHES ON NON VERSION BRANCHES
- if: '$CI_PIPELINE_SOURCE == "push" && ($CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH != /^\d*\.x$/)'
- if: '$CI_PIPELINE_SOURCE == "push" && ($CI_COMMIT_BRANCH != "master" && $CI_COMMIT_BRANCH !~ /^\d*\.x$/)'
when: never
# THIS WILL TRIGGER PIPELINES FOR MERGE REQUESTS AND SCHEDULES, AND PUSHES ON VERSION BRANCHES LIKE 21.x. 18.x
- when: always
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment