2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-29 05:28:00 +00:00

[9.20] fix: nil: 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 and `.gitlab-ci.yml` is changed.

This was an oversight in https://gitlab.isc.org/isc-projects/bind9/-/merge_requests/10654

Backport of MR !10668

Merge branch 'backport-stepan/remove-additional-pipeline-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10669
This commit is contained in:
Štěpán Balážik 2025-06-28 12:25:45 +00:00
commit 35cec00cae

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: