From: Simon McVittie Date: Fri, 12 May 2023 14:00:34 +0000 (+0100) Subject: CI: Run a detached pipeline for merge requests X-Git-Tag: dbus-1.15.6~15^2~11 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dbbd4a32f147111efe61e0121f06de0ccc22eb77;p=thirdparty%2Fdbus.git 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 --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f20b0ee5a..8e1f72fe5 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