From 7543e7be0931e8ee76fb1ff93cdc57277f635e5a Mon Sep 17 00:00:00 2001 From: pngwn Date: Tue, 6 Aug 2024 21:41:33 +0100 Subject: [PATCH] Update index.ts --- packages/filter-paths/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/filter-paths/index.ts b/packages/filter-paths/index.ts index 280d7e1..1f306e0 100644 --- a/packages/filter-paths/index.ts +++ b/packages/filter-paths/index.ts @@ -40,7 +40,7 @@ async function run() { )) { files = [...files, ...parse_data(response.data)]; } - } else if (context.eventName === "push") { + } else if (context.eventName === "push" || context.eventName === "workflow_dispatch") { const response = await octokit.rest.repos.getCommit({ owner: context.repo.owner, repo: context.repo.repo,