Replace danger-python with Hazard

Hazard is a minimal danger-python replacement.
This commit is contained in:
Michal Nowak 2023-12-05 11:55:03 +01:00
parent dc6200ed87
commit 08ce1bc45f
No known key found for this signature in database

View file

@ -608,9 +608,15 @@ shfmt:
danger:
<<: *precheck_job
# Keep the GIT_DEPTH environment variable set to a "high number" before
# https://github.com/libgit2/libgit2/pull/6662 is addressed and integrated
# into pygit2.
variables:
GIT_DEPTH: 1000
needs: []
script:
- danger-python ci -f
- pip install git+https://gitlab.isc.org/isc-projects/hazard.git
- hazard
only:
refs:
- merge_requests