From c0b78e508bd22dcf89490dfc7d0e78b92d1799dc Mon Sep 17 00:00:00 2001 From: Karsten Ludwig Hauser Date: Fri, 20 Oct 2023 14:12:00 +0200 Subject: [PATCH] fix: main needs to be checked out (#437) --- .github/workflows/release-branch.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-branch.yml b/.github/workflows/release-branch.yml index 9d48e76e..bf1fcb3e 100644 --- a/.github/workflows/release-branch.yml +++ b/.github/workflows/release-branch.yml @@ -35,7 +35,7 @@ jobs: git commit -m "chore: bump versions ${{ inputs.changes }} and dependent charts" - name: Reset main branch with changes from develop/? run: | - git fetch origin ${{ github.ref_name }}:${{ github.ref_name }} + git checkout main git reset --hard ${{ github.ref_name }} - name: Create Release Branch & PR id: pr