Add a check for defined but never used anchors in .gitlab-ci.yaml

If a anchor is ever orphaned, this will fail in CI.
This commit is contained in:
Štěpán Balážik 2025-06-26 16:15:45 +02:00
parent 9331451c5f
commit 5ed2b6c080

View file

@ -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: []