You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove PR creation from cross-repo issue analysis workflow (#780)
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>
Copy file name to clipboardExpand all lines: .github/workflows/cross-repo-issue-analysis.md
+4-17Lines changed: 4 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
---
2
-
description: Analyzes copilot-sdk issues to determine if a fix is needed in copilot-agent-runtime, then opens a linked issue and suggested-fix PR there
2
+
description: Analyzes copilot-sdk issues to determine if a fix is needed in copilot-agent-runtime, then opens a linked issue there
@@ -106,18 +98,13 @@ Classify the issue into one of these categories:
106
98
- References the original SDK issue (e.g., `github/copilot-sdk#123`)
107
99
- Includes the specific files and code paths involved
108
100
- Suggests a fix approach
109
-
- Create a draft PR in `github/copilot-agent-runtime` with a suggested fix:
110
-
- Make the minimal, targeted code changes needed
111
-
- Include a clear PR description linking back to both issues
112
-
- If you're uncertain about the fix, still create the PR as a starting point for discussion
113
101
114
102
3.**Needs-investigation**: You cannot confidently determine the root cause. Label the issue `needs-investigation`.
115
103
116
104
## Guidelines
117
105
118
106
1.**Be thorough but focused**: Read enough code to be confident in your analysis, but don't read every file in both repos
119
107
2.**Err on the side of creating the runtime issue**: If there's a reasonable chance the fix is in the runtime, create the issue. False positives are better than missed upstream bugs.
120
-
3.**Make actionable PRs**: Even if the fix isn't perfect, a draft PR with a concrete starting point is more useful than just an issue description
121
-
4.**Link everything**: Always cross-reference between the SDK issue, runtime issue, and runtime PR so maintainers can follow the trail
122
-
5.**Be specific**: When describing the root cause, point to specific files, functions, and line numbers in both repos
123
-
6.**Don't duplicate**: Before creating a runtime issue, search existing open issues in `github/copilot-agent-runtime` to avoid duplicates. If a related issue exists, reference it instead of creating a new one.
108
+
3.**Link everything**: Always cross-reference between the SDK issue and runtime issue so maintainers can follow the trail
109
+
4.**Be specific**: When describing the root cause, point to specific files, functions, and line numbers in both repos
110
+
5.**Don't duplicate**: Before creating a runtime issue, search existing open issues in `github/copilot-agent-runtime` to avoid duplicates. If a related issue exists, reference it instead of creating a new one.
0 commit comments