ci: Create check-merge-request job only in MR pipelines
It can't work as intended in other pipelines. Part-of: <https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1338>
This commit is contained in:
parent
04c2fe5459
commit
1b625044dc
|
@ -133,6 +133,8 @@ check-merge-request:
|
|||
extends:
|
||||
- .fdo.ci-fairy
|
||||
stage: postcheck
|
||||
rules:
|
||||
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||
script:
|
||||
- ci-fairy check-merge-request --require-allow-collaboration --junit-xml=results.xml
|
||||
artifacts:
|
||||
|
|
Loading…
Reference in New Issue