Add create-pull-request safe output to github-mcp-tools-report workflow#1836
Merged
Add create-pull-request safe output to github-mcp-tools-report workflow#1836
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add safe output for create-pull-request in agentic workflow
Add create-pull-request safe output to github-mcp-tools-report workflow
Oct 17, 2025
pelikhan
approved these changes
Oct 17, 2025
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.
Overview
This PR adds
create-pull-requestsafe output to the GitHub MCP investigator agentic workflow (github-mcp-tools-report.md), enabling it to automatically create pull requests for documentation updates.What Changed
Added the following configuration to the workflow's
safe-outputssection:Why This Matters
The GitHub MCP investigator workflow runs weekly to:
Previously, the workflow only created a GitHub discussion with the tools report. Now it will also create pull requests when it updates:
.github/instructions/github-mcp-server.instructions.md- Complete GitHub MCP server documentation.github/instructions/github-agentic-workflows.instructions.md- Default toolsets configurationpkg/cli/templates/instructions.md- Template default toolsetsBenefits
documentationandautomationlabels[mcp-tools]prefix for easy identificationValidation
The compiled workflow now includes a complete
create_pull_requestjob with appropriate permissions (contents: write,pull-requests: write) that runs after the agent completes its analysis.Original prompt
💬 Share your feedback on Copilot coding agent for the chance to win a $200 gift card! Click here to start the survey.