diff --git a/.github/workflows/build-pr-review-both-browsers.yml b/.github/workflows/build-pr-review-both-browsers.yml index 63ba0544..63ef11cc 100644 --- a/.github/workflows/build-pr-review-both-browsers.yml +++ b/.github/workflows/build-pr-review-both-browsers.yml @@ -52,19 +52,10 @@ jobs: browser-extension/plugin/extension-firefox/ browser-extension/plugin/extension-chrome/ - # - name: Debug GitHub Token Permissions - # run: echo ${{ secrets.GITHUB_TOKEN }} - - # - name: Create PR Comment with Artifact Link - # uses: actions/github-script@v5 - # with: - # github-token: ${{ secrets.GITHUB_TOKEN }} - # script: | - # const artifact_url = `https://github.com/${{github.repository_owner}}/${{github.event.repository.name}}/actions/runs/${{ github.run_id }}`; - # const comment_body = `🛠 Your build files are available [here](${artifact_url}).`; - # await github.rest.issues.createComment({ - # issue_number: context.payload.pull_request.number, - # owner: context.repo.owner, - # repo: context.repo.repo, - # body: comment_body - # }); + - name: "test" + uses: thollander/actions-comment-pull-request@v2 + with: + message: | + 🛠 Your build files are available [here](https://github.com/${{github.repository_owner}}/${{github.event.repository.name}}/actions/runs/${{ github.run_id }}) + comment_tag: execution + mode: recreate \ No newline at end of file