chore: fix release-drafter duplicate entries across categories#119
Merged
chore: fix release-drafter duplicate entries across categories#119
Conversation
…abeler rules Remove changed-files rules from type:* labels in labeler.yml — they caused multiple conflicting labels on a single PR (e.g. feat: PR touching README.md got both type:feature and type:docs), leading to duplicate release note entries. Also add Dependency Updates category to release-drafter.yml for Dependabot PRs, and add 'dependencies' to exclude-labels of all other categories. Closes #117
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
Fixes #117
Root cause:
labeler.ymlhadchanged-filesrules that applied multiple conflictingtype:*labels to a single PR. For example, afeat:PR touchingREADME.mdwould get bothtype:feature(fromsrc/**glob) andtype:docs(from**/*.mdglob), causing the same PR to appear in multiple release-drafter categories.Changes
.github/labeler.ymlchanged-filesrules fromtype:*labels.github/release-drafter.yml⬆️ Dependency Updatescategory for Dependabot PRs (labels: [dependencies])dependenciestoexclude-labelsof all other categories to ensure Dependabot PRs land only in the new categoryAcceptance Criteria
feat:commits → Features onlyfix:commits → Bug Fixes onlychore:/ci:commits → Maintenance onlydocs:commits → Documentation only