diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cd248f6..7aac772 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -69,7 +69,8 @@ jobs: git config --global user.email 'github-actions@github.com' git add ${{ env.CHART_PATH }}/Chart.yaml git commit -m "Update Helm chart version to ${{ steps.set_output.outputs.new_version }}" - git push origin HEAD:${{ github.head_ref }} # Push changes to the current branch + current_branch=$(git rev-parse --abbrev-ref HEAD) + git push origin $current_branch # Push changes to the current branch - name: Create and push new tag run: |