Commit e788d30a authored by Paul McCarthy's avatar Paul McCarthy 🚵
Browse files

Merge branch 'ci/workflow_rules' into 'master'

Ci/workflow rules

See merge request fsl/conda/manifest-rules!9
parents b91a18e5 e136ca15
......@@ -3,10 +3,12 @@ stages:
- check-version
# Don't run on merge requests
# Don't run pipeline on MRs
workflow:
rules:
- if: '$CI_MERGE_REQUEST_ID == null'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- when: always
test:
......
......@@ -18,10 +18,12 @@ default:
- python -m pip install git+https://git.fmrib.ox.ac.uk/fsl/conda/manifest-rules.git
# Don't run pipeline on merge requests
# Don't run pipeline on MRs
workflow:
rules:
- if: '$CI_COMMIT_TAG != null || $CI_COMMIT_BRANCH != null'
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- when: always
# Manifest and environment files can only be published
......
#!/usr/bin/env python
__version__ = '0.3.5'
__version__ = '0.3.6'
Markdown is supported
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