From e4a45d5ebe97e5ecf8db9dadbe79f40385d9f288 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. (cherry picked from commit 7ca18df58a328690f788a474aefbb73e053616db) --- .gitlab-ci.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 1635f90e2d..00a9bc61e2 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: