2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-31 14:35:26 +00:00

[9.20] chg: ci: Revert Run CI danger job even if user canceled it while it was running

Unexpectedly this broke CI job generator which parses gitlab-ci.yaml
and cannot handle `!reference` YAML tags.

This reverts merge request !10490

Backport of MR !10540

Merge branch 'backport-revert-0a1a599f-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10541
This commit is contained in:
Petr Špaček
2025-06-02 16:16:04 +00:00

View File

@@ -676,10 +676,6 @@ danger:
script:
- pip install git+https://gitlab.isc.org/isc-projects/hazard.git
- hazard
after_script:
# insist on running danger job even if user canceled it while it was running
- test "$CI_JOB_STATUS" != "canceled" && exit 0
- !reference [danger, script]
rules:
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'