[Git][pulseaudio/pulseaudio][master] ci: Add workflow rules to create merge request pipelines
PulseAudio Marge Bot (@pulseaudio-merge-bot)
gitlab at gitlab.freedesktop.org
Mon Aug 5 23:18:09 UTC 2024
PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio
Commits:
3da5e627 by Arun Raghavan at 2024-08-05T19:14:12-04:00
ci: Add workflow rules to create merge request pipelines
This should make Weblate MRs run again.
Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/827>
- - - - -
1 changed file:
- .gitlab-ci.yml
Changes:
=====================================
.gitlab-ci.yml
=====================================
@@ -10,6 +10,15 @@
# there doesn't seem to be significant value to splitting the stages at the
# moment.
+# Create merge request pipelines for open merge requests, branch pipelines
+# otherwise. This allows MRs for new users to run CI.
+workflow:
+ rules:
+ - if: $CI_PIPELINE_SOURCE == "merge_request_event"
+ - if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
+ when: never
+ - if: $CI_COMMIT_BRANCH
+
stages:
- container
- build
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/3da5e62741f8a6f9555bf489399145d5a83190f9
--
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/3da5e62741f8a6f9555bf489399145d5a83190f9
You're receiving this email because of your account on gitlab.freedesktop.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20240805/cb2652c0/attachment.htm>
More information about the pulseaudio-commits
mailing list