From 33ebaea6003b115c391b175dbb2367154cbfc756 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 f1cf9316e9..c2a7de026b 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -621,9 +621,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