mirror of
https://gitlab.freedesktop.org/xorg/proto/xorgproto.git
synced 2025-12-20 02:20:17 +01:00
CI: add workflow rules
Required for pipelines to run after some infrastructure changes, see https://gitlab.freedesktop.org/freedesktop/freedesktop/-/issues/438 Part-of: <https://gitlab.freedesktop.org/xorg/proto/xorgproto/-/merge_requests/95>
This commit is contained in:
parent
4e4c48d305
commit
9d5e1d1dc1
1 changed files with 7 additions and 0 deletions
|
|
@ -17,6 +17,13 @@ include:
|
||||||
file: '/templates/ci-fairy.yml'
|
file: '/templates/ci-fairy.yml'
|
||||||
- template: Security/SAST.gitlab-ci.yml
|
- template: Security/SAST.gitlab-ci.yml
|
||||||
|
|
||||||
|
workflow:
|
||||||
|
rules:
|
||||||
|
- if: $CI_PIPELINE_SOURCE == "merge_request_event"
|
||||||
|
- if: $CI_COMMIT_BRANCH && $CI_OPEN_MERGE_REQUESTS
|
||||||
|
when: never
|
||||||
|
- if: $CI_COMMIT_BRANCH
|
||||||
|
|
||||||
# global variables to be used by most/all jobs.
|
# global variables to be used by most/all jobs.
|
||||||
variables:
|
variables:
|
||||||
FDO_UPSTREAM_REPO: 'xorg/proto/xorgproto'
|
FDO_UPSTREAM_REPO: 'xorg/proto/xorgproto'
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue