summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon McVittie <smcv@collabora.com>2023-05-12 15:00:34 +0100
committerSimon McVittie <smcv@collabora.com>2023-05-12 15:00:34 +0100
commitdbbd4a32f147111efe61e0121f06de0ccc22eb77 (patch)
tree9cae73dfaf33d5370ce4afa8ca512a467ea8a3b1
parent35ade3c8f7aca16d1c6289828a2597859d1c503b (diff)
downloaddbus-dbbd4a32f147111efe61e0121f06de0ccc22eb77.tar.gz
CI: Run a detached pipeline for merge requests
After abuses of fdo infrastructure were mitigated in freedesktop/freedesktop#540, contributors cannot usually run pipelines in their own forks of dbus. Signed-off-by: Simon McVittie <smcv@collabora.com>
-rw-r--r--.gitlab-ci.yml5
1 files changed, 5 insertions, 0 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f20b0ee5..8e1f72fe 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -20,6 +20,11 @@
# CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == 'merge_request_event'
+ - if: $CI_PIPELINE_SOURCE == 'push'
+
include:
- project: 'freedesktop/ci-templates'
ref: e9a461877f8c7f9fed9fff5491067ec3c3472559