ci: allow fork PR checkout under pull_request_target - #1033
Merged
Conversation
leonardocarreras
temporarily deployed
to
internal
July 30, 2026 06:17 — with
GitHub Actions
Inactive
leonardocarreras
marked this pull request as draft
July 30, 2026 06:32
leonardocarreras
force-pushed
the
ci-fork-checkout-optin
branch
from
July 30, 2026 06:34
c0a2a3c to
66878f5
Compare
leonardocarreras
temporarily deployed
to
internal
July 30, 2026 06:35 — with
GitHub Actions
Inactive
leonardocarreras
force-pushed
the
ci-fork-checkout-optin
branch
from
July 30, 2026 06:43
66878f5 to
d74992d
Compare
leonardocarreras
temporarily deployed
to
internal
July 30, 2026 06:43 — with
GitHub Actions
Inactive
leonardocarreras
force-pushed
the
ci-fork-checkout-optin
branch
from
July 30, 2026 06:48
d74992d to
0c73a48
Compare
leonardocarreras
temporarily deployed
to
internal
July 30, 2026 06:49 — with
GitHub Actions
Inactive
leonardocarreras
force-pushed
the
ci-fork-checkout-optin
branch
from
July 30, 2026 07:02
0c73a48 to
928ebab
Compare
leonardocarreras
temporarily deployed
to
internal
July 30, 2026 07:07 — with
GitHub Actions
Inactive
leonardocarreras
marked this pull request as ready for review
July 30, 2026 07:37
Signed-off-by: Leonardo Carreras <leonardo.carreras@eonerc.rwth-aachen.de>
leonardocarreras
force-pushed
the
ci-fork-checkout-optin
branch
from
July 30, 2026 07:39
928ebab to
43b108d
Compare
Contributor
Author
|
Hi @stv0g! So, as it got tricky I tested here https://github.com/leonardocarreras/node/actions/runs/30521609262?pr=2 |
leonardocarreras
temporarily deployed
to
internal
July 30, 2026 07:41 — with
GitHub Actions
Inactive
stv0g
approved these changes
Jul 30, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
'Fork PRs still fail after #1032.
actions/checkout@v7refuses to check out fork code from apull_request_targetworkflow unlessallow-unsafe-pr-checkout: trueis set. Approval by a member is already required by thefork-prenv, so this should be safe.Other smaller fixes
cache-tois disabled for that event. Reads are unchanged.all, which was skipped instead of failed when a prerequisite failed. Only the real run claims the required check name now.head.repo.fork, which is wrong when the base repo is itself a fork.Verified using cross-repo PR leonardocarreras#2