Skip to content

Commit

Permalink
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ jobs:
# Is there a way to tell if a PR is from a forked repository? #26829
# https://github.com/orgs/community/discussions/26829#discussioncomment-3253580
if: >-
matrix.os == 'ubuntu-22.04' && matrix.node-version == 18 && ((
github.event_name == 'pull_request' &&
github.event.pull_request.head.repo.full_name == github.repository
${{ matrix.os == 'ubuntu-22.04' && matrix.node-version == 18 && ((
github.event_name != 'pull_request'
) || (
github.event_name == 'pull_request_target' &&
github.event.pull_request.head.repo.full_name != github.repository
))
github.event.pull_request.head.repo.full_name == github.repository
)) }}
uses: we-cli/coverage-badge-action@main

0 comments on commit d0370f3

Please sign in to comment.