Improve issue and pull request labeling - #1246
Merged
Merged
Conversation
shibayan
marked this pull request as ready for review
August 9, 2026 13:17
Contributor
There was a problem hiding this comment.
Pull request overview
This pull request updates the repository’s issue/PR classification approach by shifting issues to structured metadata (Issue Types + org Priority field) while keeping labels focused on pull-request release-note categorization and automation.
Changes:
- Documents the intended issue and pull request classification policy in
CONTRIBUTING.md. - Adds a PR labeler workflow plus
.github/labeler.ymlrules to applydocumentation/area:*labels based on changed paths. - Updates issue forms to apply triage/area labels instead of PR release-category labels, and extends release-note categories for
breaking-changeandmaintenance.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| CONTRIBUTING.md | Adds documented policy for issue types/priority fields and PR release-category labeling. |
| .github/workflows/pr-labeler.yml | Introduces a workflow to apply path-based labels to pull requests via actions/labeler. |
| .github/release.yml | Adds release-note categories for breaking changes and maintenance. |
| .github/labeler.yml | Defines path-to-label mappings for documentation and area:* labels. |
| .github/ISSUE_TEMPLATE/feature_request.yml | Switches feature requests to status: needs-triage instead of PR-style release labels. |
| .github/ISSUE_TEMPLATE/dns_provider_request.yml | Adds area: dns-provider + triage labeling for DNS provider requests. |
| .github/ISSUE_TEMPLATE/bug_report.yml | Switches bug reports to status: needs-triage instead of PR-style release labels. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Contributor
There was a problem hiding this comment.
Pull request overview
Copilot reviewed 7 out of 7 changed files in this pull request and generated no new comments.
Suppressed comments (1)
CONTRIBUTING.md:66
- The classification policy mixes “exactly one release category label” with applying
breaking-change, and it also implies Dependabot labels are configured here. Since.github/release.ymltreatsbreaking-changeas its own release-notes category, it’s clearer to explicitly state thatbreaking-changeis an additional (optional) label that can be combined with the single category label. Also, Dependabot adds the defaultdependencies(and ecosystem) labels automatically unless you override labels independabot.yml, so “through its repository configuration” is misleading.
Pull requests use exactly one release category label:
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
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
documentationandarea:*labeling with the official GitHub labeler actionWhy
Issue Types and Issue fields provide structured Issue metadata, while pull requests still need labels for release-note categorization. Separating those responsibilities avoids duplicate classification and keeps labels useful for automation.
Impact
New Issue forms apply
status: needs-triageinstead of pull-request release labels. DNS provider requests also receivearea: dns-provider. Pull requests from branches in this repository receive additive path-based labels; manually assigned labels are not removed. Pull requests from forks are labeled manually so the workflow can use the saferpull_requestevent without granting write access to untrusted contributions.Validation
git diff --checkactions/labelercommit corresponds to v6.2.0