mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 22:56:54 +08:00
fix: isForkRepository
This commit is contained in:
parent
a60eec20ec
commit
6546aa9608
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user