FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add Copilot instructions for PR labeling by Copilot · Pull Request #5532 · PowerShell/vscode-powershell · GitHub

Add Copilot instructions for PR labeling - #5532

Merged
Andy Jordan (andyleejordan) merged 3 commits into
mainfrom
copilot/add-copilot-instructions-for-pr-labeling
Jun 18, 2026
Merged

Andy Jordan (andyleejordan) merged 3 commits into
mainfrom
copilot/add-copilot-instructions-for-pr-labeling

Conversation

Copilot AI commented Jun 18, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Copilot-authored PRs in this repo were not being labeled, so they were mis-triaged and miscategorized in the auto-generated changelog. This mirrors PowerShellEditorServices#2310, adapted to this repository's labels and .github/release.yml.

Changes

  • .github/copilot-instructions.md: Added a "Pull Request Labels" section directing Copilot to:
    • Apply at least one Area-* label and exactly one Issue-* label (Issue-Bug / Issue-Enhancement / Issue-Performance).
    • Add OS-* labels for platform-specific changes and Ignore to exclude a PR from release notes.
    • Discover the current label set via gh label list --repo PowerShell/vscode-powershell rather than hard-coding the (drifting) list.

The Issue-* guidance is tied to the changelog mapping in .github/release.yml (Issue-Enhancement → "Enhancements & Features ✨", Issue-Bug → "Squashed Bugs 🐛"), noting that a missing Issue-* label falls through the "*" catch-all into "Other Changes 🙏".

Copilot AI changed the title [WIP] Add Copilot instructions for PR labeling Add Copilot instructions for PR labeling Jun 18, 2026
Andy Jordan (andyleejordan) marked this pull request as ready for review June 18, 2026 17:58
Andy Jordan (andyleejordan) requested a review from a team as a code owner June 18, 2026 17:58
Copilot AI review requested due to automatic review settings June 18, 2026 17:58

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull request overview

This PR adds a "Pull Request Labels" section to .github/copilot-instructions.md so that Copilot-authored PRs are properly labeled for triage and changelog generation. Without this guidance, Copilot PRs lacked the required Area-* and Issue-* labels, causing them to be miscategorized in auto-generated release notes.

Changes:

  • Added labeling instructions requiring at least one Area-* label and exactly one Issue-* label per PR, with guidance on OS-* and Ignore labels.
  • Documented the relationship between Issue-* labels and the changelog categories defined in .github/release.yml.
  • Directed Copilot to discover the current label set dynamically via gh label list rather than relying on a hard-coded list.

Comment on lines +69 to +79
- **Exactly one `Issue-*` label** describing the kind of change:
- `Issue-Bug` — a bug fix.
- `Issue-Enhancement` — a new feature or changed behavior.
- `Issue-Performance` — a performance improvement.

The `Issue-*` label is not optional: GitHub's auto-generated release notes use it
to pick the changelog category. See [`.github/release.yml`](./release.yml) for the
authoritative mapping (`Issue-Enhancement` → "Enhancements & Features ✨",
`Issue-Bug` → "Squashed Bugs 🐛"). Any PR **without** an `Issue-*` label falls
through the `"*"` catch-all into "Other Changes 🙏" and is silently
miscategorized, so always set one correctly.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Added Issue-Performance to .github/release.yml with its own "Performance Improvements ⚡" category (commit Add Issue-Performance category to release.yml). PRs labeled Issue-Performance will now land in that section instead of the catch-all "Other Changes 🙏".

Andy Jordan (andyleejordan) merged commit b1a2ab8 into main Jun 18, 2026
8 checks passed
Andy Jordan (andyleejordan) deleted the copilot/add-copilot-instructions-for-pr-labeling branch June 18, 2026 18:18
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Documentation Issue-Enhancement A feature request (enhancement).

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL