ci: improve name of fork pipelines

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35285>
This commit is contained in:
Eric Engestrom 2025-06-02 15:44:47 +02:00 committed by Marge Bot
parent f29524c1de
commit 730c938a46

View file

@ -54,7 +54,7 @@ workflow:
# Pre-merge pipeline # Pre-merge pipeline
- if: &is-pre-merge $CI_PIPELINE_SOURCE == "merge_request_event" - if: &is-pre-merge $CI_PIPELINE_SOURCE == "merge_request_event"
# Push to a branch on a fork # Push to a branch on a fork
- if: &is-fork-push $CI_PROJECT_NAMESPACE != "mesa" && $CI_PIPELINE_SOURCE == "push" - if: &is-push-to-fork $CI_PROJECT_NAMESPACE != "mesa" && $CI_PIPELINE_SOURCE == "push"
# nightly pipeline # nightly pipeline
- if: &is-scheduled-pipeline $CI_PIPELINE_SOURCE == "schedule" - if: &is-scheduled-pipeline $CI_PIPELINE_SOURCE == "schedule"
variables: variables:
@ -219,7 +219,7 @@ include:
# Rules applied to every job in the pipeline # Rules applied to every job in the pipeline
.common-rules: .common-rules:
rules: rules:
- if: *is-fork-push - if: *is-push-to-fork
when: manual when: manual
.never-post-merge-rules: .never-post-merge-rules: