From 5e10bc06cdae3afdf6b3ca935b8a85b820c48464 Mon Sep 17 00:00:00 2001 From: Aiqiao Yan <55104035+aiqiaoy@users.noreply.github.com> Date: Tue, 7 Jul 2026 16:34:58 -0400 Subject: backport `allow-unsafe-pr-checkout` to v6 (#2500) * 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__/input-helper.test.ts | 1 + 1 file changed, 1 insertion(+) (limited to '__test__/input-helper.test.ts') diff --git a/__test__/input-helper.test.ts b/__test__/input-helper.test.ts index 09331eb..25b6d18 100644 --- a/__test__/input-helper.test.ts +++ b/__test__/input-helper.test.ts @@ -91,6 +91,7 @@ describe('input-helper tests', () => { expect(settings.repositoryOwner).toBe('some-owner') expect(settings.repositoryPath).toBe(gitHubWorkspace) expect(settings.setSafeDirectory).toBe(true) + expect(settings.allowUnsafePrCheckout).toBe(false) }) it('qualifies ref', async () => { -- cgit v1.2.3