XS✔ ◾ Handle Fork Pull Requests - #847
Closed
Muiris Woulfe (muiriswoulfe) wants to merge 2 commits 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:28
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
Contributor
PR Metrics✔ Thanks for keeping your pull request small.
Metrics computed by PR Metrics. Add it to your Azure DevOps and GitHub PRs! |
Copilot started reviewing on behalf of
Muiris Woulfe (muiriswoulfe)
August 25, 2026 12:29
View session
Contributor
There was a problem hiding this comment.
Pull request overview
Prevents privileged automation on fork pull requests while retaining safe build and security validation.
Changes:
- Skips credential-dependent build jobs for fork pull requests.
- Adds a reviewer caution comment when a fork pull request opens.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
.github/workflows/build.yml |
Gates privileged jobs to trusted branches and events. |
.github/workflows/fork-pull-request-caution.yml |
Posts guidance for reviewing fork contributions. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
The privileged trigger only posts static text and never checks out or executes pull request code. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Muiris Woulfe (muiriswoulfe)
deployed
to
production
August 25, 2026 13:30 — with
GitHub Actions
Active
Muiris Woulfe (muiriswoulfe)
deployed
to
production
August 25, 2026 13:30 — with
GitHub Actions
Active
Muiris Woulfe (muiriswoulfe)
deployed
to
production
August 25, 2026 13:30 — with
GitHub Actions
Active
Muiris Woulfe (muiriswoulfe)
deployed
to
production
August 25, 2026 13:30 — with
GitHub Actions
Active
Copilot started reviewing on behalf of
Muiris Woulfe (muiriswoulfe)
August 25, 2026 13:30
View session
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.