Handle Fork Pull Requests - #846
Closed
Muiris Woulfe (muiriswoulfe) wants to merge 1 commit into
Closed
Conversation
Prevent fork-controlled code from accessing production OIDC credentials while retaining read-only checks. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Muiris Woulfe (muiriswoulfe)
requested review from
a team
and
a balanced review from Copilot
August 25, 2026 12:10
Copilot started reviewing on behalf of
Muiris Woulfe (muiriswoulfe)
August 25, 2026 12:10
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Prevents privileged automation from running on fork-originated pull requests while retaining read-only validation.
Changes:
- Skips credential-dependent build jobs for fork pull requests.
- Adds a caution comment when a fork pull request is opened.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/fork-pull-request-caution.yml |
Posts the fork-review caution. |
.github/workflows/build.yml |
Restricts privileged jobs to trusted branches. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Muiris Woulfe (muiriswoulfe)
deployed
to
production
August 25, 2026 12:28 — with
GitHub Actions
Active
Muiris Woulfe (muiriswoulfe)
had a problem deploying
to
production
August 25, 2026 12:28 — with
GitHub Actions
Failure
Muiris Woulfe (muiriswoulfe)
deployed
to
production
August 25, 2026 12:28 — with
GitHub Actions
Active
Muiris Woulfe (muiriswoulfe)
deployed
to
production
August 25, 2026 12:28 — with
GitHub Actions
Active
Member
Author
|
Superseded by #847, which uses a branch in the base repository so the privileged workflow path can run. |
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.
Purpose
Prevent fork-originated pull requests from running privileged automation when repository credentials are unavailable.
Impact
Fork pull requests retain read-only build and security checks. Privileged updates are skipped, and reviewers receive a caution about reduced automation.