From 90723f5985926a25e7ccfe67fdcc242120503361 Mon Sep 17 00:00:00 2001 From: Aiqiao Yan <55104035+aiqiaoy@users.noreply.github.com> Date: Tue, 7 Jul 2026 16:34:20 -0400 Subject: backport `allow-unsafe-pr-checkout` to v3 (#2503) * block checking out fork pr for pull_request_target and workflow_run (#2454) * block checking out fork pr for some events * address copilot and reviewer feedback * run prettier formatting * build * update urls * update readme * update description and url again * edit url one more time * update error wording (#2467) * Upgrade upload-artifact action to version 4 --- src/ref-helper.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ref-helper.ts') diff --git a/src/ref-helper.ts b/src/ref-helper.ts index 1c25049..9f9ca99 100644 --- a/src/ref-helper.ts +++ b/src/ref-helper.ts @@ -264,7 +264,7 @@ export async function checkCommitInfo( } } -function fromPayload(path: string): any { +export function fromPayload(path: string): any { return select(github.context.payload, path) } -- cgit v1.2.3