mirror of
https://github.com/peaceiris/actions-gh-pages.git
synced 2025-07-15 14:43:21 +08:00
parent
01fdaf2f02
commit
d6bd6182f2
@ -12,6 +12,8 @@ export async function run(): Promise<void> {
|
||||
const inps: Inputs = getInputs();
|
||||
showInputs(inps);
|
||||
|
||||
const eventName = context.eventName;
|
||||
if (eventName === 'pull_request') {
|
||||
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
||||
const isForkRepository = (context.payload as any).repository.fork;
|
||||
const isSkipOnFork = await skipOnFork(
|
||||
@ -26,6 +28,7 @@ export async function run(): Promise<void> {
|
||||
);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
const remoteURL = await setTokens(inps);
|
||||
core.debug(`[INFO] remoteURL: ${remoteURL}`);
|
||||
|
Loading…
x
Reference in New Issue
Block a user