Skip to content

Add GHA for release note creation for patches - #1793

Merged
kaikreuzer merged 7 commits into
openhab:mainfrom
kaikreuzer:releasenotes
Aug 20, 2025
Merged

Add GHA for release note creation for patches#1793
kaikreuzer merged 7 commits into
openhab:mainfrom
kaikreuzer:releasenotes

Conversation

@kaikreuzer

Copy link
Copy Markdown
Member

No description provided.

Signed-off-by: Kai Kreuzer <kai@openhab.org>
@kaikreuzer
kaikreuzer requested a review from a team as a code owner August 20, 2025 12:38
Signed-off-by: Kai Kreuzer <kai@openhab.org>
@wborn
wborn requested a review from Copilot August 20, 2025 12:47

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

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.

Comment thread launch/build-patch.gradle Outdated
Comment thread launch/build-patch.gradle Outdated
Comment thread launch/build-patch.gradle Outdated
Comment thread .github/workflows/create-release-notes.yml Outdated
kaikreuzer and others added 5 commits August 20, 2025 15:49
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>
@kaikreuzer

Copy link
Copy Markdown
Member Author

@wborn If this can be merged within the next 2 hours, I would directly use it for the 4.3.7 patch release. 😄

@kaikreuzer

Copy link
Copy Markdown
Member Author

Please allow me to self-merge, so that we can test it!

@kaikreuzer
kaikreuzer merged commit 9860d18 into openhab:main Aug 20, 2025
2 checks passed
@kaikreuzer kaikreuzer added this to the 5.1 milestone Aug 20, 2025
@wborn

wborn commented Aug 20, 2025

Copy link
Copy Markdown
Member

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.

@kaikreuzer

Copy link
Copy Markdown
Member Author

@wborn It worked wonderfully: https://github.com/openhab/openhab-distro/releases/tag/4.3.7

@kaikreuzer
kaikreuzer deleted the releasenotes branch August 20, 2025 16:36
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.

3 participants