From 93e494ef84ba8e3de98da2927beaf09ecfa946d7 Mon Sep 17 00:00:00 2001 From: Aiqiao Yan <55104035+aiqiaoy@users.noreply.github.com> Date: Tue, 7 Jul 2026 16:34:55 -0400 Subject: backport `allow-unsafe-pr-checkout` to v5 (#2501) * 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) --- __test__/git-auth-helper.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '__test__/git-auth-helper.test.ts') diff --git a/__test__/git-auth-helper.test.ts b/__test__/git-auth-helper.test.ts index 9acba54..92a61fe 100644 --- a/__test__/git-auth-helper.test.ts +++ b/__test__/git-auth-helper.test.ts @@ -1113,7 +1113,8 @@ async function setup(testName: string): Promise { sshUser: '', workflowOrganizationId: 123456, setSafeDirectory: true, - githubServerUrl: githubServerUrl + githubServerUrl: githubServerUrl, + allowUnsafePrCheckout: false } } -- cgit v1.2.3