diff --git a/.github/workflows/codesandbox-link-comment.yml b/.github/workflows/codesandbox-link-comment.yml index b7c5a91..64ca1da 100644 --- a/.github/workflows/codesandbox-link-comment.yml +++ b/.github/workflows/codesandbox-link-comment.yml @@ -11,8 +11,10 @@ jobs: codesandbox-comment: name: Add codesandbox link comment runs-on: ubuntu-latest + permissions: + pull-requests: write steps: - - uses: mshick/add-pr-comment@v1 + - uses: mshick/add-pr-comment@v2 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: