Skip to content

Commit 7c75e8e

Browse files
Copilotjoshspicer
andcommitted
Add body_suffix parameter to include VS Code header in copilot agent PRs
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
1 parent e060b0a commit 7c75e8e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/github/copilotRemoteAgent.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -559,6 +559,7 @@ export class CopilotRemoteAgentManager extends Disposable {
559559
pull_request: {
560560
title,
561561
body_placeholder: problemContext,
562+
body_suffix: '\n\n---\n\n*This pull request was created by the [GitHub Copilot coding agent](https://docs.github.com/en/copilot/using-github-copilot/coding-agent) via [GitHub Pull Requests](https://marketplace.visualstudio.com/items?itemName=GitHub.vscode-pull-request-github) for VS Code.*',
562563
base_ref,
563564
...(hasChanges && { head_ref: ref })
564565
}

0 commit comments

Comments
 (0)