Skip to content

chore: fix release-drafter duplicate entries across categories#119

Merged
vmvarela merged 1 commit intomasterfrom
issue-117/fix-release-drafter-duplicates
May 1, 2026
Merged

chore: fix release-drafter duplicate entries across categories#119
vmvarela merged 1 commit intomasterfrom
issue-117/fix-release-drafter-duplicates

Conversation

@vmvarela
Copy link
Copy Markdown
Owner

@vmvarela vmvarela commented May 1, 2026

Summary

Fixes #117

Root cause: labeler.yml had changed-files rules that applied multiple conflicting type:* labels to a single PR. For example, a feat: PR touching README.md would get both type:feature (from src/** glob) and type:docs (from **/*.md glob), causing the same PR to appear in multiple release-drafter categories.

Changes

.github/labeler.yml

  • Removed all changed-files rules from type:* labels
  • Type is now determined solely by conventional commit prefix in PR title or branch name — no file-path ambiguity

.github/release-drafter.yml

  • Added ⬆️ Dependency Updates category for Dependabot PRs (labels: [dependencies])
  • Added dependencies to exclude-labels of all other categories to ensure Dependabot PRs land only in the new category

Acceptance Criteria

  • Each merged PR appears in exactly one category in the generated release notes
  • feat: commits → Features only
  • fix: commits → Bug Fixes only
  • chore:/ci: commits → Maintenance only
  • docs: commits → Documentation only
  • Dependabot PRs → Dependency Updates only

…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
@vmvarela vmvarela added this to the Sprint 6 milestone May 1, 2026
@vmvarela vmvarela added type:chore Maintenance, refactoring, tooling priority:high Must be in the next sprint size:xs Trivial — less than 1 hour labels May 1, 2026
@github-actions github-actions Bot removed the type:chore Maintenance, refactoring, tooling label May 1, 2026
@vmvarela vmvarela added the type:chore Maintenance, refactoring, tooling label May 1, 2026
@vmvarela vmvarela merged commit a2dc0bf into master May 1, 2026
5 checks passed
@vmvarela vmvarela deleted the issue-117/fix-release-drafter-duplicates branch May 1, 2026 08:54
@vmvarela vmvarela mentioned this pull request May 1, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

priority:high Must be in the next sprint size:xs Trivial — less than 1 hour type:chore Maintenance, refactoring, tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix release-drafter.yml: duplicate entries across categories

1 participant