Skip to content

Fix safe output documentation errors in agent instructions#17306

Merged
pelikhan merged 1 commit intomainfrom
eaftan/update-instructions
Feb 20, 2026
Merged

Fix safe output documentation errors in agent instructions#17306
pelikhan merged 1 commit intomainfrom
eaftan/update-instructions

Conversation

@eaftan
Copy link
Contributor

@eaftan eaftan commented Feb 20, 2026

  • 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.

- 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>
Copilot AI review requested due to automatic review settings February 20, 2026 22:47
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-repo field from the upload-asset safe-output example (same-repo only).
  • Updated assign-to-user configuration from assignees: to the correct allowed: field.
  • Corrected the pull request safe-output reference from safe-outputs.pull-request to safe-outputs.create-pull-request.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@eaftan eaftan requested a review from pelikhan February 20, 2026 22:56
@pelikhan pelikhan merged commit 54e9361 into main Feb 20, 2026
45 checks passed
@pelikhan pelikhan deleted the eaftan/update-instructions branch February 20, 2026 23:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants