From 08ce1bc45fbe00db5ac5ec77335b38c8ce7d1990 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. --- .gitlab-ci.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 66a2156cfa..1cb1a3a9c9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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