diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e8fe1cf..084d443 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -56,8 +56,8 @@ jobs: - name: Commit and push version change env: - GITHUB_HEAD_REF: ${{ github.event.pull_request.head.ref }} + ENV_GITHUB_HEAD_REF: ${{ github.event.pull_request.head.ref }} run: | git add . git commit -m "Auto change version." - git push origin HEAD:$GITHUB_HEAD_REF -f + git push origin HEAD:$ENV_GITHUB_HEAD_REF -f