3
0
Fork 0
mirror of https://code.forgejo.org/actions/checkout.git synced 2026-06-17 18:36:24 +00:00
This commit is contained in:
Aiqiao Yan 2026-06-17 16:01:26 +00:00 committed by GitHub
commit 4e2e9b966b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 21140 additions and 26258 deletions

47392
dist/index.js vendored

File diff suppressed because one or more lines are too long

View file

@ -75,9 +75,9 @@ export function assertSafePrCheckout(input: IUnsafePrCheckoutInput): void {
`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.`
)
}