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.21.10~12^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7ca18df58a328690f788a474aefbb73e053616db;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. --- diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e02e19c94a7..e47e2e6eef9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -561,7 +561,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: