From 1dff62d07d5228d882f44bd48c565ea783a6de8a Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Tue, 5 Dec 2023 11:55:03 +0100 Subject: [PATCH] Replace danger-python with Hazard Hazard is a minimal danger-python replacement. (cherry picked from commit 08ce1bc45fbe00db5ac5ec77335b38c8ce7d1990) --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 24bee8a5c1..83832d5be9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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