Skip to content
Snippets Groups Projects
Commit 263e790a authored by Corné Lukken's avatar Corné Lukken
Browse files

Invert workflow rule to prevent merge request pipelines

parent 12606f7b
No related branches found
No related tags found
3 merge requests!8Convert cookiecutter,!7Expand documentation and enable security dashboards,!6Enable security dashboard
Pipeline #59631 waiting for manual action
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
workflow: workflow:
rules: rules:
# # Don't create a pipeline if it's a commit pipeline on a branch and that branch has open merge requests # Don't create for merge request pipelines, prevents detached pipeline
# - if: $CI_PIPELINE_SOURCE == "push" && $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS - if: $CI_PIPELINE_SOURCE == "merge_request_event"
# when: never when: never
- when: always - when: always
# Set to 1 to force a rebuild of the Docker image # Set to 1 to force a rebuild of the Docker image
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment