mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-09-02 07:35:26 +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:
@@ -676,6 +676,10 @@ danger:
|
|||||||
script:
|
script:
|
||||||
- pip install git+https://gitlab.isc.org/isc-projects/hazard.git
|
- pip install git+https://gitlab.isc.org/isc-projects/hazard.git
|
||||||
- hazard
|
- 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:
|
rules:
|
||||||
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
- if: '$CI_PIPELINE_SOURCE == "merge_request_event"'
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user