Skip to content

pullRequestDescriptionGeneration instructions #6997

@jj-at-fdt

Description

@jj-at-fdt

I have installed the GitHub Pull Request extension and am using the "Generate with Copilot" action.

My current settings are as follows:

"github.copilot.chat.pullRequestDescriptionGeneration.instructions": [
    {
        "file": ".github/copilot-pullRequestDescription-instructions.md"
    }
],

According to the Output log, the instructions file is being picked up:

2025-05-29 10:47:13.605 [debug] Collect instructions from file: .github/copilot-pullRequestDescription-instructions.md
2025-05-29 10:47:16.125 [info] message 0 returned. finish reason: [stop]
2025-05-29 10:47:16.125 [info] request done: requestId: [e0bb626c-33f5-4f41-9c8e-e2fd0fc5092a] model deployment ID: []

However, I’m experiencing an issue where the generated pull request titles and descriptions often do not follow the provided instructions. The instructions file contains a specific format and examples, but Copilot seems to ignore these and generates descriptions in a different style.

It’s unclear to me whether this is an issue with the GitHub Pull Request extension or with Copilot itself.
I would expect Copilot to adhere to the format and examples provided in the instructions file. Sometimes, it seems to work when I click generate again. But these are very rare cases.

Environment details:

  • Extension version: 0.111.2025052904
  • VSCode Version:
  • OS: Windows 11
  • Repository Clone Configuration (single repository/fork of an upstream repository): 1.101.0-insider
  • Github Product (Github.com/Github Enterprise version x.x.x): Github.com Enterprise subscription

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions