From 686559ea59d90a03f7d746b271ccbe6e133785ef 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 d0f39aa8f4..a96786b2e5 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -591,7 +591,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: