mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-08 03:57:26 +00:00
fix: isPullRequestFromFork returns false for any PR
This commit is contained in:
parent
d42a336584
commit
a250399fa3
1 changed files with 1 additions and 1 deletions
|
|
@ -31,7 +31,7 @@ const getGitService = (): string => {
|
|||
|
||||
const isPullRequestFromFork = (): boolean => {
|
||||
if (
|
||||
`${context.eventName}` !== 'pull_request' ||
|
||||
`${context.eventName}` !== 'pull_request' &&
|
||||
`${context.eventName}` !== 'pull_request_target'
|
||||
) {
|
||||
return false;
|
||||
|
|
|
|||
Loading…
Reference in a new issue