mirror of
https://gitlab.freedesktop.org/pulseaudio/pulseaudio.git
synced 2025-10-31 22:25:33 -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>
This commit is contained in:
parent
7341e5d16d
commit
3da5e62741
1 changed files with 9 additions and 0 deletions
|
|
@ -10,6 +10,15 @@
|
||||||
# there doesn't seem to be significant value to splitting the stages at the
|
# there doesn't seem to be significant value to splitting the stages at the
|
||||||
# moment.
|
# 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:
|
stages:
|
||||||
- container
|
- container
|
||||||
- build
|
- build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue