mirror of
https://github.com/pulseaudio/pulseaudio.git
synced 2024-11-26 19:33:29 +08: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>
This commit is contained in:
parent
7341e5d16d
commit
3da5e62741
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user