-
Notifications
You must be signed in to change notification settings - Fork 232
Migrate release note generation to github in-built capability #548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This pull request modernizes the release automation process by migrating from Release Drafter to GitHub's native automatic release notes feature, while expanding label support for better categorization of changes.
- Replaces Release Drafter workflow with GitHub's built-in automatic release notes generation
- Adds support for documentation, testing, infrastructure, and tooling labels
- Improves release note generation logic with better handling of first releases and previous release detection
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
.github/workflows/release-builder.yml |
Replaces Release Drafter with GitHub Script action for automatic release notes generation |
.github/workflows/pr-label-check.yml |
Adds new label types for documentation, testing, infrastructure, and tooling |
.github/release.yml |
New configuration file for GitHub's automatic release notes with categorized labels |
.github/release-drafter.yml |
Removes deprecated Release Drafter configuration file |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #548 +/- ##
=======================================
Coverage 61.16% 61.16%
=======================================
Files 149 149
Lines 19071 19071
=======================================
Hits 11665 11665
Misses 6103 6103
Partials 1303 1303
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
8f0a588 to
d416e49
Compare
3698496 to
c930652
Compare
|
Can you share a sample release done with this release note drafter? |
https://github.com/ThaminduDilshan/thunder/releases/tag/v0.20.0 |
c930652 to
911d4b4
Compare
Purpose
This pull request updates the release automation process by replacing the Release Drafter workflow with GitHub's native automatic release notes. The changes improve the maintainability and clarity of release notes, and ensure the release process uses the latest GitHub features.
Reference: https://docs.github.com/en/repositories/releasing-projects-on-github/automatically-generated-release-notes
Sample Format
Example