From: Michał Kępień Date: Fri, 31 Jan 2025 09:37:54 +0000 (+0000) Subject: [9.16] chg: ci: Use default cloning depth for the Danger CI job X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=77397bb05aa53028b83d36b10b07afd85808c633;p=thirdparty%2Fbind9.git [9.16] chg: ci: Use default cloning depth for the Danger CI job With shallow fetching working reliably in pygit2 1.17.0+, there is no longer any need for GitLab CI runners to clone the BIND 9 repository with a fixed depth of 1000 during every "danger" CI job as Hazard is now able to fetch remote refs with an arbitrary depth, controlled by the HAZARD_FETCH_DEPTH environment variable. The latter can be defined via GitLab project's CI settings and adjusted as needed over time, without the need to update .gitlab-ci.yml every time its value needs to be changed. Backport of MR !9946 Merge branch 'backport-michal/use-default-cloning-depth-for-the-danger-ci-job-9.16' into 'bind-9.16' See merge request isc-projects/bind9!10039 --- 77397bb05aa53028b83d36b10b07afd85808c633