Skip to content

Commit

Permalink
fixing github comment action
Browse files Browse the repository at this point in the history
  • Loading branch information
aatmanvaidya committed Sep 18, 2023
1 parent 9b231c3 commit 1f5b92e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/test-chrome.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,8 @@ jobs:
uses: actions/github-script@v5
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
owner: ${{ github.repository_owner }}
repo: ${{ github.event.repository.name }}
script: |
const artifact_url = `https://github.com/${inputs.owner}/${inputs.repo}/actions/runs/${{ github.run_id }}`;
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,
Expand Down

0 comments on commit 1f5b92e

Please sign in to comment.