Skip to content

Commit

Permalink
ci(wasm comments): only create comments on our repo (#4723)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 authored Feb 13, 2024
1 parent 3f0cbe1 commit 9878210
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/wasm-benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ jobs:

- name: Create or update report
uses: peter-evans/create-or-update-comment@v3
# Only run on our repository
# It avoids an expected failure on forks
if: github.repository == 'prisma/prisma-engines'
with:
comment-id: ${{ steps.findReportComment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/wasm-size.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,9 @@ jobs:

- name: Create or update report
uses: peter-evans/create-or-update-comment@v3
# Only run on our repository
# It avoids an expected failure on forks
if: github.repository == 'prisma/prisma-engines'
with:
comment-id: ${{ steps.findReportComment.outputs.comment-id }}
issue-number: ${{ github.event.pull_request.number }}
Expand Down

0 comments on commit 9878210

Please sign in to comment.