Skip to content

Commit

Permalink
fix: isForkRepository
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Mar 14, 2020
1 parent a60eec2 commit 6546aa9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export async function skipOnFork(
): Promise<boolean> {
const isForkRepository =
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(context.payload as any).repository.fork.toUpperCase() === 'TRUE';
(context.payload as any).repository.fork === 'true';

if (!isForkRepository || githubToken) {
return false;
Expand Down

0 comments on commit 6546aa9

Please sign in to comment.