Skip to content

Commit 1b3ce8d

Browse files
authored
Chat sessions scoped to repo (#7384)
1 parent fdddaf7 commit 1b3ce8d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/github/copilotApi.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ export class CopilotApi {
192192
Logger.error('Failed to get GitHub username from auth provider', CopilotApi.ID);
193193
return [];
194194
}
195-
const query = `is:open author:copilot-swe-agent[bot] assignee:${username} is:pr`;
195+
const query = `is:open author:copilot-swe-agent[bot] assignee:${username} is:pr repo:\${owner}/\${repository}`;
196196
const allItems = await Promise.all(
197197
repositoriesManager.folderManagers.map(async fm => {
198198
const result = await fm.getPullRequests(PRType.Query, undefined, query);

0 commit comments

Comments
 (0)