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 ab063cb4ec
commit e4a45d5ebe

View file

@ -619,7 +619,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: