Skip to content

ci(release-drafter): label each pull request once - #85

Merged
bsbodden merged 1 commit into
mainfrom
ci/release-drafter-autolabels
Nov 15, 2026
Merged

bsbodden merged 1 commit into
mainfrom
ci/release-drafter-autolabels

Conversation

@bsbodden

Copy link
Copy Markdown
Contributor

The drafter lists a pull request under every category whose label it carries, so two faults in the autolabeler duplicated entries in the v0.2.0 draft: a files: '*.md' rule marked every docs PR as maintenance too, and the fix / feat / docs title rules also fired on breaking (!) titles. Every title rule now matches exactly one conventional-commit shape, release: titles count as maintenance, and no rule is keyed on changed files. tests/test_release_pipeline.py applies the rules to sample titles and pins exactly one label per title, and checks that every autolabel has a category.

The merged PRs #68 to #84 were labelled by hand to match (the autolabeler only ran on #83), so the drafter resolves v0.2.0 on its next run on main.

A files rule marked every pull request touching Markdown as maintenance,
so a docs PR was listed under two headings, and the fix/feat/docs title
rules also fired on breaking (!) titles, which would list a breaking
change twice. Every title rule now matches exactly one conventional-commit
shape, release: titles are maintenance, and no rule is keyed on files. A
test applies the rules to sample titles and pins one label per title.
@github-actions github-actions Bot added the maintenance CI/build/tooling maintenance label Nov 15, 2026
@github-actions

Copy link
Copy Markdown

✅ Code Quality Report

Metric Score Status
MFCQI Score 0.8119005243014936 ✅ Good
Test Coverage 94% ✅ Good
Security Issues 0 ✅ Clean

Quality Gates

  • MFCQI Score: ✅ Minimum 0.75 (Current: 0.8119005243014936)
  • Test Coverage: ✅ Minimum 80% (Current: 94%)
  • Security: ✅ Zero vulnerabilities (Current: 0)

🎉 All quality gates passed! This PR maintains high code quality standards.

📊 View detailed MFCQI breakdown

Run uv run python -m mfcqi analyze langgoap locally to see detailed metrics breakdown.

@bsbodden
bsbodden merged commit 6f5e75c into main Nov 15, 2026
20 checks passed
@bsbodden
bsbodden deleted the ci/release-drafter-autolabels branch November 15, 2026 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

maintenance CI/build/tooling maintenance

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant