From: Štěpán Balážik Date: Fri, 27 Jun 2025 18:27:14 +0000 (+0200) Subject: Only run ci-orphaned-anchors on MR events X-Git-Tag: v9.20.11~5^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4a45d5ebe97e5ecf8db9dadbe79f40385d9f288;p=thirdparty%2Fbind9.git Only run ci-orphaned-anchors on MR events Now, it is also run in schedules and most annoyingly on push which means that it is run twice on a push to a branch where a MR exists. (cherry picked from commit 7ca18df58a328690f788a474aefbb73e053616db) --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1635f90e2d8..00a9bc61e21 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -619,7 +619,8 @@ ci-orphaned-anchors: - bind9-qa/ci-orphaned-anchors/check-orphaned-anchors-ci.py .gitlab-ci.yml needs: [] rules: - - changes: + - if: '$CI_PIPELINE_SOURCE == "merge_request_event"' + changes: - .gitlab-ci.yml clang-format: