diff --git a/.github/workflows/generate-api-client.yml b/.github/workflows/generate-api-client.yml index ecde3d3b..50894163 100644 --- a/.github/workflows/generate-api-client.yml +++ b/.github/workflows/generate-api-client.yml @@ -38,6 +38,6 @@ jobs: git config --global user.email "github-actions[bot]@users.noreply.github.com" git add . git diff-index --quiet HEAD || git commit -m "chore: update API client" - git push + git push origin HEAD:${{ github.event.pull_request.head.ref }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}