From 5ed2b6c08099f6f21021cbe740d76cd593292121 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=C5=A0t=C4=9Bp=C3=A1n=20Bal=C3=A1=C5=BEik?= Date: Thu, 26 Jun 2025 16:15:45 +0200 Subject: [PATCH] Add a check for defined but never used anchors in .gitlab-ci.yaml If a anchor is ever orphaned, this will fail in CI. --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index d4aa6d31b34..7d9c13bad6a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -559,6 +559,16 @@ ci-variables: reports: dotenv: ci_vars.env +ci-orphaned-anchors: + <<: *precheck_job + script: + - git clone --depth 1 https://gitlab.isc.org/isc-projects/bind9-qa.git + - bind9-qa/ci-orphaned-anchors/check-orphaned-anchors-ci.py .gitlab-ci.yml + needs: [] + rules: + - changes: + - .gitlab-ci.yml + clang-format: <<: *precheck_job needs: [] -- 2.47.3