diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9cfcdafa..c5fd21dc 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -86,7 +86,8 @@ jobs: git add . git commit -m "[bot] Update plugin info" - git push + git remote set-url origin https://x-access-token:${{ secrets.ACTIONS_PAT }}@github.com/${{ github.event.pull_request.head.repo.full_name }}.git + git push origin "HEAD:$(echo ${GITHUB_HEAD_REF})" # - name: suggester / Leave comments on PRs # if: ${{ !steps.bumpr.outputs.skip }}