]> git.ipfire.org Git - thirdparty/dbus.git/commitdiff
CI: Run a detached pipeline for merge requests
authorSimon McVittie <smcv@collabora.com>
Fri, 12 May 2023 14:00:34 +0000 (15:00 +0100)
committerSimon McVittie <smcv@collabora.com>
Fri, 12 May 2023 14:00:34 +0000 (15:00 +0100)
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>
.gitlab-ci.yml

index f20b0ee5a014cda1cf8dc30e7672422080242dd5..8e1f72fe58b65c13882abff6a648cd8a1c7a7503 100644 (file)
 # 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