fix: isPullRequestFromFork returns false for any PR

This commit is contained in:
shahar-h 2024-05-18 19:49:45 +03:00 committed by GitHub
parent d42a336584
commit a250399fa3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;