Skip to content
Snippets Groups Projects
Commit fdf69aac authored by Simon McVittie's avatar Simon McVittie
Browse files

CI: Don't run pipelines for merge requests


If we avoid running pipelines for merge requests, then the status of the
pipeline for the branch will show up. The pipeline for the branch can be
more comprehensive because it has access to project-specific masked and
protected variables.

Signed-off-by: default avatarSimon McVittie <smcv@collabora.com>
parent a5c4b4be
No related branches found
No related tags found
1 merge request!319CI: Reduce CI load
Pipeline #14000 passed
......@@ -71,6 +71,12 @@ variables:
# Create a File variable with a private key authorized for P_V_CI_UPLOAD_USER
PRESSURE_VESSEL_CI_UPLOAD_SSH_PRIVATE_KEY_FILE: ''
workflow:
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
when: never
- when: always
stages:
- build
- relocatable-install
......
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