Skip to content

chore: improve release changelog grouping#62

Draft
aparajon wants to merge 2 commits intomainfrom
armand/goreleaser-changelog
Draft

chore: improve release changelog grouping#62
aparajon wants to merge 2 commits intomainfrom
armand/goreleaser-changelog

Conversation

@aparajon
Copy link
Copy Markdown
Collaborator

@aparajon aparajon commented Apr 30, 2026

Why

Release changelogs are sorted alphabetically by commit message, making them hard to scan.

What

  • Switch GoReleaser changelog to use GitHub's auto-generated notes
  • Group entries by conventional commit prefix: Features (feat), Bug Fixes (fix), Other

Generated with Claude Code

aparajon and others added 2 commits April 30, 2026 16:53
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Use GitHub's auto-generated notes with GoReleaser, grouped by
conventional commit prefix (feat/fix/other) instead of alphabetical
commit sorting.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings April 30, 2026 21:32
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates release-note generation to be easier to scan by switching GoReleaser to GitHub-based changelog generation and grouping entries into conventional-commit-style sections.

Changes:

  • Update GoReleaser changelog to use GitHub as the source and add grouped sections (Features / Bug Fixes / Other).
  • Bump Helm chart version and appVersion to 0.1.3 / v0.1.3.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
charts/schemabot/Chart.yaml Updates Helm chart version metadata (version + appVersion).
.goreleaser.yaml Switches changelog generation mode and defines grouping rules for release notes.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +5 to +6
version: 0.1.3
appVersion: "v0.1.3"
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

Chart.yaml version/appVersion are being bumped as part of this PR, but the PR description is scoped to release changelog generation. If this bump is intentional (e.g., preparing the v0.1.3 release), consider calling it out in the PR description or splitting it into a separate PR to keep release-note tooling changes isolated from Helm metadata changes.

Copilot uses AI. Check for mistakes.
Comment thread .goreleaser.yaml
Comment on lines 31 to +41
changelog:
sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^ci:"
use: github
groups:
- title: Features
regexp: '^feat'
order: 0
- title: Bug Fixes
regexp: '^fix'
order: 1
- title: Other
order: 999
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

This change removes the previous changelog exclusion filters for docs/test/ci commits (they will now appear under “Other”). If the intent is to keep release notes focused on user-facing changes, reintroduce equivalent excludes (or an equivalent mechanism supported by the chosen GitHub-based changelog generation).

Copilot uses AI. Check for mistakes.
Comment thread .goreleaser.yaml
Comment on lines +35 to +38
regexp: '^feat'
order: 0
- title: Bug Fixes
regexp: '^fix'
Copy link

Copilot AI Apr 30, 2026

Choose a reason for hiding this comment

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

The group regexps are very broad (^feat / ^fix). If you want grouping specifically by conventional-commit prefixes, tighten these to match the expected separators (e.g., feat: / feat( and fix: / fix() so entries like feature: or fixup! don’t get miscategorized.

Suggested change
regexp: '^feat'
order: 0
- title: Bug Fixes
regexp: '^fix'
regexp: '^feat(:|\()'
order: 0
- title: Bug Fixes
regexp: '^fix(:|\()'

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants