From 7ca18df58a328690f788a474aefbb73e053616db Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0t=C4=9Bp=C3=A1n=20Bal=C3=A1=C5=BEik?= Date: Fri, 27 Jun 2025 20:27:14 +0200 Subject: [PATCH] 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. --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index e02e19c94a..e47e2e6eef 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: