File tree Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Expand file tree Collapse file tree 1 file changed +4
-6
lines changed Original file line number Diff line number Diff line change 40
40
# Is there a way to tell if a PR is from a forked repository? #26829
41
41
# https://github.com/orgs/community/discussions/26829#discussioncomment-3253580
42
42
if : >-
43
- matrix.os == 'ubuntu-22.04' && matrix.node-version == 18 && ((
44
- github.event_name == 'pull_request' &&
45
- github.event.pull_request.head.repo.full_name == github.repository
43
+ ${{ matrix.os == 'ubuntu-22.04' && matrix.node-version == 18 && ((
44
+ github.event_name != 'pull_request'
46
45
) || (
47
- github.event_name == 'pull_request_target' &&
48
- github.event.pull_request.head.repo.full_name != github.repository
49
- ))
46
+ github.event.pull_request.head.repo.full_name == github.repository
47
+ )) }}
50
48
uses : we-cli/coverage-badge-action@main
You can’t perform that action at this time.
0 commit comments