diff options
author | Simon McVittie <smcv@collabora.com> | 2023-05-12 15:00:34 +0100 |
---|---|---|
committer | Simon McVittie <smcv@collabora.com> | 2023-05-12 15:00:34 +0100 |
commit | dbbd4a32f147111efe61e0121f06de0ccc22eb77 (patch) | |
tree | 9cae73dfaf33d5370ce4afa8ca512a467ea8a3b1 /.gitlab-ci.yml | |
parent | 35ade3c8f7aca16d1c6289828a2597859d1c503b (diff) | |
download | dbus-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>
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r-- | .gitlab-ci.yml | 5 |
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 |