From 184a2429371439ebddc280e3764a113a5be79ac2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 30 Nov 2025 18:35:05 +0100 Subject: [PATCH] ci: Make sure git knows the main branch Something seems to have changed about how sparse checkouts are done on GHA, so the main branch isn't found. --- .github/workflows/release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5c6b2e58f..6ac2736e2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -110,6 +110,7 @@ jobs: - name: Cherry-pick release commit if: ${{ inputs.release_type == 'patch' }} run: | + git fetch origin main git checkout main git cherry-pick -x v${{ steps.bump.outputs.version }} git push origin main