gitlab CI: add workflow rules
Needed due to the gitlab config changes described in: https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
parent
1209a1bb57
commit
445834826d
|
@ -139,3 +139,12 @@ check-merge-request:
|
||||||
reports:
|
reports:
|
||||||
junit: results.xml
|
junit: results.xml
|
||||||
allow_failure: true
|
allow_failure: true
|
||||||
|
|
||||||
|
#
|
||||||
|
# Workflow rules needed due to:
|
||||||
|
# https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438
|
||||||
|
#
|
||||||
|
workflow:
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == 'merge_request_event'
|
||||||
|
- if: $CI_PIPELINE_SOURCE == 'push'
|
||||||
|
|
Loading…
Reference in New Issue