diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml index 8998fa3b1..a371c11d6 100644 --- a/.github/workflows/preview.yml +++ b/.github/workflows/preview.yml @@ -56,7 +56,7 @@ jobs: if: github.event_name == 'pull_request' with: - github-token: ${{ secrets.GITHUB_TOKEN }} + github-token: ${{ secrets.COMMENT_TOKEN }} script: | console.log("Hello world!"); const pr_id = ${{ github.event.number }};