From 87e1b88cd027a82edd1822c4165aaa16890e6140 Mon Sep 17 00:00:00 2001 From: Aatman Date: Wed, 20 Sep 2023 12:08:50 +0530 Subject: [PATCH] checking GITHUB_TOKEN --- .../workflows/build-pr-review-both-browsers.yml | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build-pr-review-both-browsers.yml b/.github/workflows/build-pr-review-both-browsers.yml index 32276582..0f04ab83 100644 --- a/.github/workflows/build-pr-review-both-browsers.yml +++ b/.github/workflows/build-pr-review-both-browsers.yml @@ -38,12 +38,16 @@ jobs: path: | browser-extension/plugin/extension-firefox/ browser-extension/plugin/extension-chrome/ + + - name: Echo GitHub Token + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: echo $GITHUB_TOKEN - - name: Create PR Comment with Artifact Link - uses: actions/github-script@v5 - with: - github-token: ${{ secrets.GITHUB_TOKEN }} - run: echo $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}).`;