2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

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

Backport of MR !10490

Merge branch 'backport-pspacek/always-hazard-9.20' into 'bind-9.20'

See merge request isc-projects/bind9!10534
This commit is contained in:
Petr Špaček
2025-06-02 12:03:21 +00:00

View File

@@ -676,6 +676,10 @@ 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"'