diff --git a/.github/workflows/format-pr.yml b/.github/workflows/format-pr.yml index 1fc1a6595d..ae6da1b5fd 100644 --- a/.github/workflows/format-pr.yml +++ b/.github/workflows/format-pr.yml @@ -56,6 +56,7 @@ jobs: run: gh pr checkout $PR_NUM env: PR_NUM: ${{ github.event.issue.number }} + GH_TOKEN: ${{ github.token }} - name: Install Node.js uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af with: @@ -89,10 +90,12 @@ jobs: run: gh pr checkout $PR_NUM env: PR_NUM: ${{ github.event.issue.number }} + GH_TOKEN: ${{ github.token }} - name: Download formatted code uses: actions/download-artifact@fa0a91b85d4f404e444e00e005971372dc801d16 with: name: comment-format-untrusted-artifact + path: extensions - name: Commit run: | git config --global user.name "$GITHUB_ACTOR"