From 39fa027fdaa463b58c37b242f5ec221706ade131 Mon Sep 17 00:00:00 2001 From: Aiqiao Yan <55104035+aiqiaoy@users.noreply.github.com> Date: Wed, 17 Jun 2026 13:51:53 -0400 Subject: update error wording (#2467) --- dist/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dist') diff --git a/dist/index.js b/dist/index.js index 8a3da5f..b381bd2 100644 --- a/dist/index.js +++ b/dist/index.js @@ -42023,9 +42023,9 @@ function assertSafePrCheckout(input) { throw new Error(`Refusing to check out fork pull request code from a '${eventName}' workflow. ` + `This workflow runs with the base repository's GITHUB_TOKEN, secrets, default-branch ` + `cache scope, and runner access. Fetching and executing a fork's code in that trusted ` + - `context commonly leads to "pwn request" vulnerabilities. To opt in after reviewing ` + - `the risks at https://gh.io/securely-using-pull_request_target, set ` + - `'allow-unsafe-pr-checkout: true' on the actions/checkout step.`); + `context commonly leads to "pwn request" vulnerabilities. To opt in, review the risks ` + + `at https://gh.io/securely-using-pull_request_target and set 'allow-unsafe-pr-checkout: true' ` + + `on the actions/checkout step.`); } function pushIfSha(target, value) { if (typeof value === 'string' && value.length > 0) { -- cgit v1.2.3