From 7c0b19a6071dc8fa0cd8ad3e90f11223fa876337 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 28 Mar 2024 19:55:38 +0000 Subject: [PATCH] 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: --- .gitlab-ci/test/gitlab-ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci/test/gitlab-ci.yml b/.gitlab-ci/test/gitlab-ci.yml index 8732b734766..583a02a4441 100644 --- a/.gitlab-ci/test/gitlab-ci.yml +++ b/.gitlab-ci/test/gitlab-ci.yml @@ -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: