Skip to content

Auto-label PRs and sort all labels into release notes - #292

Merged
maximmaxim345 merged 3 commits into
mainfrom
chore/align-release-drafter-labels
Oct 12, 2026
Merged

maximmaxim345 merged 3 commits into
mainfrom
chore/align-release-drafter-labels

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

What does this implement/fix?

Ports the PR label setup from aiosendspin.

The labels in the repo, the release notes sections and the version resolver didn't match. So new-feature PRs bumped the minor version but ended up outside every release notes section, refactor and documentation PRs never got a section, and ci was listed twice without existing as a label. Most recent PRs also had no label at all.

Now release-drafter.yml matches aiosendspin, and a new PR template has one checkbox per label, which the pr-labels.yaml workflow applies. I already added the ci label and updated the label descriptions.

The workflow runs on pull_request_target, which always uses the version on main, so it applies to every PR once this is merged. Open PRs will need a ticked box on their next update.

The workflow is ported from:

Related issue (if applicable):

Types of changes

  • Bugfix (non-breaking change which fixes an issue): bugfix
  • New feature (non-breaking change which adds functionality): new-feature
  • Enhancement to an existing feature: enhancement
  • Breaking change (changes CLI options, settings, hooks or the protocol in a way that is not backwards compatible): breaking-change
  • Refactor (no behavior change): refactor
  • Documentation only: documentation
  • Maintenance / chore: maintenance
  • CI / workflow change: ci
  • Dependencies bump: dependencies

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approval recommended

The label workflow, template, repository labels, release categories, and version resolver are consistent.

0 open findings

What changed in this PR

Aligns automated PR labeling, release-note categories, and version resolution.

Changes:

  • Adds checkbox-driven PR label automation.
  • Adds a matching pull request template.
  • Aligns Release Drafter categories with repository labels.
File Description
.github/​workflows/​pr-labels.yaml Validates and applies one release-note label.
.github/​release-drafter.yml Aligns release categories with supported labels.
.github/​PULL_REQUEST_TEMPLATE.md Adds change-type label checkboxes.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@maximmaxim345
maximmaxim345 merged commit 97b628c into main Oct 12, 2026
3 checks passed
@maximmaxim345
maximmaxim345 deleted the chore/align-release-drafter-labels branch October 12, 2026 04:58
@maximmaxim345 maximmaxim345 added the ci Changes CI or GitHub workflows label Oct 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Changes CI or GitHub workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants