Skip to content

Commit

Permalink
chore: fix ci on dep-bot PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwozdz committed Mar 27, 2024
1 parent 7b7ea49 commit 43363a4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/pr-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,20 +50,20 @@ jobs:
run: npm run test:e2e

- name: Run Coverage
if: ${{ matrix.os == 'ubuntu-latest' }}
if: ${{ matrix.os == 'ubuntu-latest' && github.triggering_actor != 'dependabot[bot]' }}
run: npm run cov:changes:json && npm run cov:changes:2:md

- name: Find previous coverage comment
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Find previous coverage report comment
if: ${{ matrix.os == 'ubuntu-latest' && github.triggering_actor != 'dependabot[bot]' }}
uses: peter-evans/find-comment@v1
id: findcomment
with:
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'github-actions[bot]'
body-includes: Coverage Report

- name: Create or update comment
if: ${{ matrix.os == 'ubuntu-latest' }}
- name: Create or update previous coverage report comment
if: ${{ matrix.os == 'ubuntu-latest' && github.triggering_actor != 'dependabot[bot]' }}
uses: peter-evans/create-or-update-comment@v4
with:
comment-id: ${{ steps.findcomment.outputs.comment-id }}
Expand Down

0 comments on commit 43363a4

Please sign in to comment.