From 34ecf02c324be52ba04bf687b9fc288dadd02c60 Mon Sep 17 00:00:00 2001 From: Sipke Schoorstra Date: Thu, 5 Feb 2026 12:40:14 +0100 Subject: [PATCH] Remove `--depth=1` from GitHub Actions `git fetch` commands in `packages.yml`. --- .github/workflows/packages.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/packages.yml b/.github/workflows/packages.yml index bff5f487e..16e623e86 100644 --- a/.github/workflows/packages.yml +++ b/.github/workflows/packages.yml @@ -137,10 +137,10 @@ jobs: - name: Verify commit exists in branch run: | if [[ "${{ github.ref }}" == refs/tags/* && "${{ github.event_name }}" == "release" && ("${{ github.event.action }}" == "published" || "${{ github.event.action }}" == "prereleased") ]]; then - git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* + git fetch --no-tags --prune origin +refs/heads/*:refs/remotes/origin/* git branch --remote --contains | grep -E 'origin/(main|release/)' else - git fetch --no-tags --prune --depth=1 origin +refs/heads/*:refs/remotes/origin/* + git fetch --no-tags --prune origin +refs/heads/*:refs/remotes/origin/* git branch --remote --contains | grep origin/${BRANCH_NAME} fi