Skip to content

Remove PR creation from cross-repo issue analysis workflow#780

Merged
patniko merged 1 commit intomainfrom
remove-pr-creation-from-cross-repo-workflow
Mar 10, 2026
Merged

Remove PR creation from cross-repo issue analysis workflow#780
patniko merged 1 commit intomainfrom
remove-pr-creation-from-cross-repo-workflow

Conversation

@patniko
Copy link
Copy Markdown
Contributor

@patniko patniko commented Mar 10, 2026

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

  • Remove pull-requests permission (no longer needed)
  • Remove edit tool and create-pull-request safe-output config
  • Remove PR creation instructions from the agent prompt
  • Update guidelines to reflect issue-only workflow

Motivation

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.

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>
@patniko patniko requested a review from a team as a code owner March 10, 2026 15:47
Copilot AI review requested due to automatic review settings March 10, 2026 15:47
Copy link
Copy Markdown
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 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, edit toolset).
  • Update workflow description and safe-outputs to match “issue-only” cross-repo actions.

@patniko patniko merged commit 27f487f into main Mar 10, 2026
14 checks passed
@patniko patniko deleted the remove-pr-creation-from-cross-repo-workflow branch March 10, 2026 15:50
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.

2 participants