diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index c567f17f..275c95eb 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -32,11 +32,11 @@ jobs: - name: Adding comment to PR with preview link and validation results uses: actions/github-script@v6 with: - github-token: ${{ secrets.SUPPORT_TOKEN }} + github-token: ${{ secrets.GITHUB_TOKEN }} script: | github.rest.issues.createComment({ issue_number: context.issue.number, owner: context.repo.owner, repo: context.repo.repo, body: `Check **PR ${{ github.event.number }}** preview 👀

[https://x.test.empathy.co/preview/${{ github.event.number }}/index.html](https://x.test.empathy.co/preview/${{ github.event.number }}/index.html) ` - }) \ No newline at end of file + })