Fix safe output documentation errors in agent instructions#17306
Merged
Fix safe output documentation errors in agent instructions#17306
Conversation
- Change 'assignees:' to 'allowed:' for assign-to-user (matches parser field) - Remove unsupported 'target-repo' from upload-asset example (same-repo only) - Fix 'safe-outputs.pull-request' to 'safe-outputs.create-pull-request' These errors were causing agents to hallucinate non-existent parameters. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the GitHub Agentic Workflows documentation to correct safe-output configuration field names and examples so agents don’t infer unsupported parameters.
Changes:
- Removed the unsupported
target-repofield from theupload-assetsafe-output example (same-repo only). - Updated
assign-to-userconfiguration fromassignees:to the correctallowed:field. - Corrected the pull request safe-output reference from
safe-outputs.pull-requesttosafe-outputs.create-pull-request.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
pelikhan
approved these changes
Feb 20, 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.
These errors were causing agents to hallucinate non-existent parameters.