Skip to content

chore: use github tooling to build release notes#710

Open
psschwei wants to merge 2 commits intogenerative-computing:mainfrom
psschwei:release-notes
Open

chore: use github tooling to build release notes#710
psschwei wants to merge 2 commits intogenerative-computing:mainfrom
psschwei:release-notes

Conversation

@psschwei
Copy link
Member

@psschwei psschwei commented Mar 19, 2026

Misc PR

Type of PR

  • Bug Fix
  • New Feature
  • Documentation
  • Other

Description

  • Link to Issue: Fixes

Uses github native tooling to create release notes instead of semantic-version
Also adds auto-labeling for PRs (which is needed for GH to categorize PR for the notes)

Benefit is we'll get a list of contributors in the release notes, and it also calls out first time contributors (which is nice for community building)

If we want to keep the current way we do it, that's fine too.

Testing

  • Tests added to the respective file if code was changed
  • New code has 100% coverage if code as added
  • Ensure existing tests and github automation passes (a maintainer will kick off the github automation when the rest of the PR is populated)

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
@psschwei psschwei requested a review from a team as a code owner March 19, 2026 20:21
@github-actions
Copy link
Contributor

The PR description has been updated. Please fill out the template for your PR to be reviewed.

@mergify
Copy link

mergify bot commented Mar 19, 2026

Merge Protections

Your pull request matches the following merge protections and will not be merged until they are valid.

🟢 Enforce conventional commit

Wonderful, this rule succeeded.

Make sure that we follow https://www.conventionalcommits.org/en/v1.0.0/

  • title ~= ^(fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|release)(?:\(.+\))?:

Copy link
Contributor

@jakelorocco jakelorocco left a comment

Choose a reason for hiding this comment

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

Do you have an example of what the generated one would look like for v0.4.0? Or if it won't look proper since we didn't do all the labels, is there a good reference somewhere?

I tried generating locally but I guess I don't have the github cli set up correctly.

Comment on lines +18 to +29
const labelMap = {
'feat': 'enhancement',
'fix': 'bug',
'docs': 'documentation',
'test': 'testing',
'perf': 'enhancement',
'refactor': 'enhancement',
'ci': 'integrations',
'chore': null,
'build': null,
'style': null,
};
Copy link
Contributor

Choose a reason for hiding this comment

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

Our current mergify rule is contains: fix|feat|docs|style|refactor|perf|test|build|ci|chore|revert|release. Do we need to do anything special for the revert tag? I don't see it listed here.

Copy link
Member Author

Choose a reason for hiding this comment

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

PRs that don't have a label would end up in an uncategorized liast at the end... I'll add it with a null entry (similar to chore/build/style)

Comment on lines +32 to +36
if (!match) return;

const prefix = match[1];
const label = labelMap[prefix];
if (!label) return;
Copy link
Contributor

Choose a reason for hiding this comment

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

To clarify, an early return here just means that the PR doesn't get a label? This will never stop a PR from being opened / processed?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes, that's correct : no impact to PR creation, it just wouldn't have a label

Signed-off-by: Paul S. Schweigert <paul@paulschweigert.com>
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