Simplify release workflow#2679
Merged
Merged
Conversation
With #2678, the release draft can be created in one request, rather than generating the notes and then manually editing them.
There was a problem hiding this comment.
Pull Request Overview
This PR simplifies the GitHub release workflow by leveraging the native generate_release_notes feature instead of manually generating and filtering release notes. The change reduces code complexity by removing manual note generation and filtering logic.
- Replaces manual release note generation with GitHub's built-in
generate_release_notesparameter - Moves bot exclusion logic from JavaScript filtering to the
.github/release.ymlconfiguration file - Reduces the workflow code by eliminating intermediate variables and filtering operations
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
.github/workflows/release.yml |
Removes manual release note generation and filtering, uses generate_release_notes: true parameter |
.github/release.yml |
Adds github-actions[bot] to the excluded authors list for automatic release note generation |
Fix wrong variable name.
Remove undefined and now unused variable.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #2679 +/- ##
=======================================
Coverage 96.23% 96.23%
=======================================
Files 311 311
Lines 7322 7322
Branches 1012 1012
=======================================
Hits 7046 7046
Misses 222 222
Partials 54 54
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
This was referenced Aug 22, 2025
This was referenced Jun 2, 2026
This was referenced Jun 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
With #2678, the release draft can be created in one request, rather than generating the notes and then manually editing them first.