Skip to content

Commit

Permalink
commenting out the actions/github-script portion
Browse files Browse the repository at this point in the history
  • Loading branch information
aatmanvaidya committed Sep 20, 2023
1 parent 6afee42 commit 934f188
Showing 1 changed file with 15 additions and 15 deletions.
30 changes: 15 additions & 15 deletions .github/workflows/build-pr-review-both-browsers.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,19 +47,19 @@ jobs:
browser-extension/plugin/extension-firefox/
browser-extension/plugin/extension-chrome/
- name: Debug GitHub Token Permissions
run: echo ${{ secrets.GITHUB_TOKEN }}
# - 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: 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
# });

0 comments on commit 934f188

Please sign in to comment.