mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +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:
@@ -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"'
|
||||
|
||||
|
Reference in New Issue
Block a user