Skip to content

Create a release announcement discussion automatically - #421

Merged
dkastl merged 1 commit into
nextfrom
chore/release-announcement-discussion
Jul 27, 2026
Merged

Create a release announcement discussion automatically#421
dkastl merged 1 commit into
nextfrom
chore/release-announcement-discussion

Conversation

@dkastl

@dkastl dkastl commented Jul 27, 2026

Copy link
Copy Markdown
Member

Release announcements in org Discussions stopped after v5.1.0, because they relied on manually ticking Create a discussion for this release when publishing.

This adds a step to the existing release.yml (which already runs on every published release): if the release has no linked discussion yet, it PATCHes the release with discussion_category_name=Announcements, which makes GitHub create the announcement post from the release notes. Idempotent, and a no-op when the checkbox was ticked manually.

v7.0.0 and v7.1.0 were backfilled the same way (#419, #420), which confirms the PATCH approach works with these categories.

The release tarball workflow now links each published release to the
Announcements discussion category, which makes GitHub create the
announcement post from the release notes. This restores the pattern
used up to v5.1.0 and keeps org Discussions in sync with releases
without a manual step.
@dkastl
dkastl merged commit 3f61945 into next Jul 27, 2026
8 checks passed
@dkastl
dkastl deleted the chore/release-announcement-discussion branch July 27, 2026 13:12
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.

1 participant