From 8c0fc54b8028c14de109c6c031572656dab15b1b Mon Sep 17 00:00:00 2001 From: Bruno Lopes Date: Mon, 6 Apr 2026 20:15:44 -0300 Subject: [PATCH] gitlab-ci: Only add issue-bot to 'test_pipeline' pipelines It is really useful on pipelines used only for testing: - GIMP_CI_MESON_CLANG - GIMP_CI_MESON_MSVC - GIMP_CI_MESON_APPLECLANG - GIMP_CI_RASTER_ICONS - GIMP_CI_CPPCHECK This fixes issue-bot wrongly in the middle of nightly packages, which was not my intention, since these pipelines are flaky and all are run with CI_COMMIT_TAG before the releases (with exception of the flatpak, which is checked by the packager when syncing the manifest, so issue-bot is also useless there) --- .gitlab-ci.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2ae8b6f744..d992632a08 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -823,7 +823,9 @@ cppcheck: issue-bot: rules: - - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule" + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule" && ($GIMP_CI_MESON_CLANG != null || $GIMP_CI_MESON_MSVC != null || $GIMP_CI_MESON_APPLECLANG != null) + when: on_failure + - if: $CI_COMMIT_REF_NAME == $CI_DEFAULT_BRANCH && $CI_PIPELINE_SOURCE == "schedule" && ($GIMP_CI_RASTER_ICONS != null || $GIMP_CI_CPPCHECK != null) when: on_failure needs: - job: gimp-debian-nonreloc