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.
This commit is contained in:
Florian Bruhin 2025-11-30 18:35:05 +01:00
parent 17c19a09b7
commit 184a242937
1 changed files with 1 additions and 0 deletions

View File

@ -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