Add GHA for release note creation for patches - #1793
Conversation
Signed-off-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
There was a problem hiding this comment.
Pull Request Overview
This PR adds automation for creating release notes for patch versions using GitHub Actions. The workflow generates changelogs by querying GitHub's API for backported pull requests and creates/updates GitHub releases with the generated notes and distribution assets.
Key changes:
- Adds a Gradle build script that queries GitHub API for backported PRs and generates markdown changelog
- Creates a GitHub Actions workflow that can be manually triggered to generate release notes and create GitHub releases
- Configures the launch module to use the new patch-specific build script
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| launch/settings.gradle | Points to the new patch-specific build script |
| launch/build-patch.gradle | Gradle script that queries GitHub API and generates changelog from backported PRs |
| .github/workflows/create-release-notes.yml | GitHub Actions workflow for automated release note creation and asset uploading |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Kai Kreuzer <kai@openhab.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Kai Kreuzer <kai@openhab.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Kai Kreuzer <kai@openhab.org>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Kai Kreuzer <kai@openhab.org>
Signed-off-by: Kai Kreuzer <kai@openhab.org>
|
@wborn If this can be merged within the next 2 hours, I would directly use it for the 4.3.7 patch release. 😄 |
|
Please allow me to self-merge, so that we can test it! |
|
Did it work? 🙂 It's nice to have it here. We should be able to automatically run it during releases when the rest of the pipeline is migrated. |
|
@wborn It worked wonderfully: https://github.com/openhab/openhab-distro/releases/tag/4.3.7 |
No description provided.