ci: run pipeline only on merge request events
This commit is contained in:
@@ -1,6 +1,12 @@
|
|||||||
# vim: set ts=4 sw=4 expandtab:
|
# vim: set ts=4 sw=4 expandtab:
|
||||||
image: ubuntu-dramsys
|
image: ubuntu-dramsys
|
||||||
|
|
||||||
|
workflow:
|
||||||
|
rules:
|
||||||
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
|
when: always
|
||||||
|
- when: never
|
||||||
|
|
||||||
stages:
|
stages:
|
||||||
- build
|
- build
|
||||||
- test
|
- test
|
||||||
|
|||||||
Reference in New Issue
Block a user