diff --git a/.github/workflows/update-poetry-lock.yml b/.github/workflows/update-poetry-lock.yml index 1e398ff6..59390bc9 100644 --- a/.github/workflows/update-poetry-lock.yml +++ b/.github/workflows/update-poetry-lock.yml @@ -35,4 +35,4 @@ jobs: git config --local user.name "GitHub Action" git add poetry.lock git commit -m "Update poetry.lock" || echo "No changes to commit" - git push origin "${{ github.head_ref }}" + git push origin HEAD:refs/heads/${{ github.head_ref }}