From aaf2cd5e5277d55c0ad7e873fdb2b97c0de3b751 Mon Sep 17 00:00:00 2001 From: Aatman Date: Wed, 20 Sep 2023 12:05:04 +0530 Subject: [PATCH] checking GITHUB_TOKEN --- .../build-pr-review-both-browsers.yml | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/.github/workflows/build-pr-review-both-browsers.yml b/.github/workflows/build-pr-review-both-browsers.yml index 522f75c3..32276582 100644 --- a/.github/workflows/build-pr-review-both-browsers.yml +++ b/.github/workflows/build-pr-review-both-browsers.yml @@ -43,12 +43,13 @@ jobs: 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 - }); \ No newline at end of file + run: echo $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 + # }); \ No newline at end of file