mirror of
https://github.com/codecov/codecov-action.git
synced 2026-02-15 07:27:24 +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 => {
|
const isPullRequestFromFork = (): boolean => {
|
||||||
if (
|
if (
|
||||||
`${context.eventName}` !== 'pull_request' ||
|
`${context.eventName}` !== 'pull_request' &&
|
||||||
`${context.eventName}` !== 'pull_request_target'
|
`${context.eventName}` !== 'pull_request_target'
|
||||||
) {
|
) {
|
||||||
return false;
|
return false;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue