]> 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>
Mon, 5 Jun 2023 18:52:08 +0000 (19:52 +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 0142f2c8f81df06e2f931026f2638d84a1e55527..0b80fbaf2240d34dff7956298ecee3ae5bd4115e 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'
+
 image: debian:bullseye-slim
 
 stages: