Skip to content

Commit

Permalink
fix: skip on fork (#159)
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Mar 16, 2020
1 parent efb69e1 commit 6fa13fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function run(): Promise<void> {
showInputs(inps);

const eventName = context.eventName;
if (eventName === 'pull_request') {
if (eventName === 'pull_request' || eventName === 'push') {
// eslint-disable-next-line @typescript-eslint/no-explicit-any
const isForkRepository = (context.payload as any).repository.fork;
const isSkipOnFork = await skipOnFork(
Expand Down

0 comments on commit 6fa13fe

Please sign in to comment.