Replace danger-python with Hazard

Hazard is a minimal danger-python replacement.

(cherry picked from commit 08ce1bc45f)
This commit is contained in:
Michal Nowak
2024-02-16 11:08:32 +01:00
parent 0aa6c96847
commit 1dff62d07d
+7 -1
View File
@@ -453,9 +453,15 @@ coccinelle:
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