Conversation
- Add autolabeler rules to release-drafter.yml mapping Conventional Commit prefixes (feat:/fix:/chore:/docs:/test:/ci:/refactor:) to type:* labels, so PRs are categorized from their title rather than requiring manual labels - Add exclude-labels to each release-drafter category so a PR with multiple type:* labels only appears in the first matching section (no duplicates) - Update labeler.yml with title and head-branch pattern rules matching the same Conventional Commit prefixes, keeping file-glob rules as fallback - Remove .github/** glob from type:chore to prevent CI/packaging PRs from being mislabeled when their title indicates a feature (e.g. feat: add APK) Closes #78 (action items)
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
Addresses both action items from the Sprint 4 Retrospective (#78):
Problem 1 — Duplicate entries in release notes (PR #74 appeared in both Features and Maintenance):
type:featureandtype:chorelabelsexclude-labelsto each category inrelease-drafter.ymlso a PR only appears in the first matching sectionProblem 2 — PR title prefix vs. label mismatch (PR #75 had
feat:title buttype:chorelabel → appeared in Maintenance):labeler.ymlmatched.github/**files →type:choreregardless of the commit prefixautolabelerrules torelease-drafter.ymlmapping Conventional Commit prefixes totype:*labelslabeler.ymlwithtitleandhead-branchpattern rules for all Conventional Commit prefixes; remove.github/**glob fromtype:chore(CI/packaging PRs should be typed by their title, not their file paths)Changes
.github/release-drafter.yml— addedautolabelerblock +exclude-labelsper category.github/labeler.yml— addedtitle/head-branchrules; removed.github/**fromtype:chore