Remove PR creation from cross-repo issue analysis workflow#780
Merged
Conversation
Simplify the workflow to only open linked issues in copilot-agent-runtime instead of also creating draft PRs with suggested fixes. This reduces scope and avoids potentially noisy automated PRs. Changes: - Remove pull-requests permission - Remove edit tool and create-pull-request safe-output - Remove PR creation instructions from the prompt - Update guidelines to reflect issue-only workflow Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the cross-repo runtime triage agent workflow to only create a linked issue in github/copilot-agent-runtime (and stop creating draft PRs there), aligning permissions, tool access, and instructions with that narrower scope.
Changes:
- Remove draft PR creation behavior and related guidance from the triage instructions.
- Drop unnecessary GitHub permissions/tooling tied to PR creation (e.g.,
pull-requests: read,edittoolset). - Update workflow description and safe-outputs to match “issue-only” cross-repo actions.
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.
Simplifies the cross-repo issue analysis workflow to only open linked issues in copilot-agent-runtime instead of also creating draft PRs with suggested fixes.
Changes
pull-requestspermission (no longer needed)edittool andcreate-pull-requestsafe-output configMotivation
Automated draft PRs from the triage workflow can be noisy and low-signal. Focusing on issue creation keeps the workflow targeted — maintainers can decide whether/how to fix upstream.