From: Štěpán Balážik Date: Thu, 26 Jun 2025 14:15:45 +0000 (+0200) Subject: Add a check for defined but never used anchors in .gitlab-ci.yaml X-Git-Tag: v9.21.10~13^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ed2b6c08099f6f21021cbe740d76cd593292121;p=thirdparty%2Fbind9.git Add a check for defined but never used anchors in .gitlab-ci.yaml If a anchor is ever orphaned, this will fail in CI. --- 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: []