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.

(cherry picked from commit 184a242937)
This commit is contained in:
Florian Bruhin 2025-11-30 18:35:05 +01:00
parent 405215eb44
commit c3ec186aaf
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