FAQ | This is a LIVE service | Changelog

Skip to content
Snippets Groups Projects
Commit 7ccf85b2 authored by Robin Goodall's avatar Robin Goodall :speech_balloon:
Browse files

Prevent detached pipeline on MR

parent a9932c54
No related branches found
No related tags found
1 merge request!25Add CI test job to check specs are up to date
......@@ -36,6 +36,11 @@ latest-spec:
image: python:3.10
stage: test
script:
- pip install -r ./scripts/requirements.txt
- ./pull-specs.sh --token ${GITLAB_PULL_SPECS_TOKEN}
- git diff --exit-code
- pip install -r ./scripts/requirements.txt
- ./pull-specs.sh --token ${GITLAB_PULL_SPECS_TOKEN}
- git diff --exit-code
rules:
# Don't create a detached job on a merge request - a separate pipeline
# should be created for a branch which is where we expect this to be run
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
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