From a5d9f20316501de3fe953c411fc2a91025bd5c24 Mon Sep 17 00:00:00 2001 From: Carly Gundy <47304080+cgundy@users.noreply.github.com> Date: Mon, 1 Dec 2025 14:00:35 +0100 Subject: [PATCH] fix warning message --- src/main.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index 8320287..a2f7cd8 100644 --- a/src/main.ts +++ b/src/main.ts @@ -87,7 +87,7 @@ async function getChangedFiles(token: string, base: string, ref: string, initial const prEvents = ['pull_request', 'pull_request_review', 'pull_request_review_comment', 'pull_request_target'] if (prEvents.includes(github.context.eventName)) { if (ref) { - core.warning(`'ref' input parameter is ignored when 'base' is set to HEAD`) + core.warning(`'ref' input parameter is ignored when action is triggered by pull request event`) } if (base) { core.warning(`'base' input parameter is ignored when action is triggered by pull request event`)