From 9cca65527a62aa6b6683839130a428e85f8a0945 Mon Sep 17 00:00:00 2001 From: Sascha Bratton Date: Fri, 13 Mar 2026 16:25:27 -0400 Subject: [PATCH] Apply suggestion from @masaru-iritani Co-authored-by: Masaru Iritani <25241373+masaru-iritani@users.noreply.github.com> --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 44f311c..463e7f1 100644 --- a/src/main.ts +++ b/src/main.ts @@ -97,7 +97,7 @@ async function getChangedFiles(token: string, base: string, ref: string, initial if (base) { core.warning(`'base' input parameter is ignored when action is triggered by pull request event`) } - const pr = github.context.payload.pull_request as PullRequestEvent + const pr = github.context.payload as PullRequestEvent if (token) { return await getChangedFilesFromApi(token, pr) }