Repository navigation
Agent persona guidance improvements blocked - #78083
Conversation
|
@copilot Consider creating a dedicated page for forks that centralizes fork-specific information so you can apply this change. |
Co-authored-by: copilot-swe-agent[bot] <[email protected]>
Updated the existing Fork Support reference with PR-head build, artifact-trust, and deployment-credential guidance in |
|
✅ Test Quality Sentinel completed test quality analysis. Test Quality SentinelOutcome: The agent completed and reported no action. A no-op output alone does not verify that all required work was completed or that publication was possible. Agent messages are omitted from this comment. The category uses structured run status, not interpretation of agent prose.
|
There was a problem hiding this comment.
🟡 Changes recommended
The fork-admission rule was added only to the reference page, leaving the required agent-file guidance absent and the issue incompletely addressed.
1 open issue
What changed in this PR
Adds security guidance for fork-based pull request builds, deployment credentials, previews, production deployments, and untrusted artifacts. The requested agent instruction-prefix updates remain outstanding.
Changes:
- Separates untrusted fork PR builds from deployment credentials.
- Requires production deployments from trusted, merged commits.
- Documents isolated preview credentials and validation of untrusted artifacts.
| File | Description |
|---|---|
| docs/src/content/docs/reference/fork-support.md | Adds guidance for securely handling fork PR builds, deployment credentials, previews, production deployments, and artifacts. |
Review effort: Lite (dynamic)
|
|
||
| ## PR builds and deployment credentials | ||
|
|
||
| Allowing a fork PR to trigger a workflow does not make its code trusted. Run PR-head builds and tests without deployment credentials and with only the permissions they need. Do not check out or execute PR-head code in a privileged `pull_request_target` or `workflow_run` job. |
|
🎉 This pull request is included in a new release. Release: |

The agent guidance exceeds the instruction-prefix limit and does not expose fork-PR admission guidance within the visible prefix. The issue also calls for verifying guidance on separating PR-head builds from deploy credentials.