From ec933c40797b95947e9f226a66f889bf78f18bb0 Mon Sep 17 00:00:00 2001 From: ljuba_ch Date: Thu, 24 Apr 2025 19:23:33 +0300 Subject: [PATCH 1/3] fix sandbox --- .github/workflows/codesandbox-link-comment.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: From bcaaaf741a21c4dc322fdec0c93194815e6a2b44 Mon Sep 17 00:00:00 2001 From: ljuba_ch Date: Thu, 24 Apr 2025 19:30:51 +0300 Subject: [PATCH 2/3] test --- .github/workflows/codesandbox-link-comment.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/codesandbox-link-comment.yml b/.github/workflows/codesandbox-link-comment.yml index 64ca1da..d5e86ef 100644 --- a/.github/workflows/codesandbox-link-comment.yml +++ b/.github/workflows/codesandbox-link-comment.yml @@ -4,8 +4,7 @@ on: pull_request: types: [opened] # https://github.com/mshick/add-pr-comment/issues/25 - pull_request_target: - types: [opened] + jobs: codesandbox-comment: From 1c0e2d3e36aceba8cfb8d9ed572eb14b89ca9779 Mon Sep 17 00:00:00 2001 From: ljuba_ch Date: Thu, 24 Apr 2025 19:34:12 +0300 Subject: [PATCH 3/3] test2 --- .github/workflows/codesandbox-link-comment.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/codesandbox-link-comment.yml b/.github/workflows/codesandbox-link-comment.yml index d5e86ef..64ca1da 100644 --- a/.github/workflows/codesandbox-link-comment.yml +++ b/.github/workflows/codesandbox-link-comment.yml @@ -4,7 +4,8 @@ on: pull_request: types: [opened] # https://github.com/mshick/add-pr-comment/issues/25 - + pull_request_target: + types: [opened] jobs: codesandbox-comment: