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 7ca18df58a)
This commit is contained in:
Štěpán Balážik 2025-06-27 20:27:14 +02:00
parent 115c1bf3a6
commit 686559ea59

View file

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