Skip to content

Commit

Permalink
test something
Browse files Browse the repository at this point in the history
Signed-off-by: joseph-sentry <joseph.sawaya@sentry.io>
  • Loading branch information
joseph-sentry committed May 2, 2024
1 parent b16f668 commit 1b5ab6d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -32779,7 +32779,7 @@ const getGitService = () => {
};
const isFork = () => {
core.info(`checking if a a fork ${context.eventName}`);
if (`${context.eventName}` !== 'pull_request' ||
if (`${context.eventName}` !== 'pull_request' &&
`${context.eventName}` !== 'pull_request_target') {
return false;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/buildExec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ const getGitService = (): string => {
const isFork = (): boolean => {
core.info(`checking if a a fork ${context.eventName}`);
if (
`${context.eventName}` !== 'pull_request' ||
`${context.eventName}` !== 'pull_request' &&
`${context.eventName}` !== 'pull_request_target'
) {
return false;
Expand Down

0 comments on commit 1b5ab6d

Please sign in to comment.