mirror of
https://github.com/mirror/libX11.git
synced 2026-05-28 01:44:57 +08:00
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:
@@ -96,3 +96,12 @@ build:
|
||||
- make check
|
||||
- make distcheck
|
||||
- popd > /dev/null
|
||||
|
||||
#
|
||||
# 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'
|
||||
|
||||
Reference in New Issue
Block a user