Skip to content

Fix CI - #288

Closed
infinisil wants to merge 1 commit into
mainfrom
fix-ci
Closed

Fix CI#288
infinisil wants to merge 1 commit into
mainfrom
fix-ci

Conversation

@infinisil

Copy link
Copy Markdown
Member

Getting this in CI runs, like
https://github.com/NixOS/org/actions/runs/31025754088/job/92373643252?pr=276:

Error: Refusing to check out fork pull request code from a 'pull_request_target' 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, review the risks at https://gh.io/securely-using-pull_request_target and set 'allow-unsafe-pr-checkout: true' on the actions/checkout step.

Getting this in CI runs, like
https://github.com/NixOS/org/actions/runs/31025754088/job/92373643252?pr=276:

> Error: Refusing to check out fork pull request code from a 'pull_request_target' 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, review the risks at https://gh.io/securely-using-pull_request_target and set 'allow-unsafe-pr-checkout: true' on the actions/checkout step.
@infinisil
infinisil requested a review from a team as a code owner September 18, 2026 19:06
@infinisil
infinisil enabled auto-merge September 18, 2026 19:06
@infinisil
infinisil marked this pull request as draft September 18, 2026 19:07
auto-merge was automatically disabled September 18, 2026 19:07

Pull request was converted to draft

@infinisil

Copy link
Copy Markdown
Member Author

Maybe not necessary anymore, #287 merged without problems

@infinisil infinisil closed this Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant