ci: run python-test automatically only in merge pipelines

In particular, fork and pre-merge pipelines should not automatically run
it (and `debian/x86_64_build` and `debian/x86_64_build-base`).

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28452>
This commit is contained in:
Eric Engestrom 2024-03-28 19:55:38 +00:00 committed by Marge Bot
parent 891e2e42c6
commit 7c0b19a607
1 changed files with 5 additions and 1 deletions

View File

@ -59,10 +59,14 @@ python-test:
rules:
- !reference [.disable-farm-mr-rules, rules]
- !reference [.never-post-merge-rules, rules]
- changes:
- if: $GITLAB_USER_LOGIN == "marge-bot"
changes: &bin_ci_files
- .gitlab-ci.yml
- .gitlab-ci/**/*
- bin/ci/**/*
when: on_success
- changes: *bin_ci_files
when: manual
.test-gl:
extends: