ci: auto-announce releases to Discord with full notes#3
Merged
Conversation
Adds the same release→Discord announcer the other traceroot repos run. On `release: published` (plus a manual `workflow_dispatch` re-announce by tag), it fetches the full release notes via `gh` and posts them as a rich embed to the shared #release Discord channel, with the embed title prefixed by the repo name. The DISCORD_RELEASE_CHANNEL_WEBHOOK_URL secret is configured org-wide, so no per-repo setup is needed — this works on the next release. Verbatim copy of the main repo's workflow; no per-repo customization. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Adds the same release→Discord announcer the other traceroot repos already run.
On
release: published(plus a manualworkflow_dispatchre-announce by tag), it fetches the full release notes viaghand posts them as a rich embed to the shared#releaseDiscord channel. The embed title is prefixed with the repo name, so all repos land cleanly in the one channel.The
DISCORD_RELEASE_CHANNEL_WEBHOOK_URLsecret is already configured org-wide (all repositories), so no per-repo setup is needed — this works on the next release. Verbatim copy of the main repo's workflow; no per-repo customization.Once merged, cutting
v0.1.0will trigger it (or use the manualworkflow_dispatchwith a tag to test the Discord path without cutting a release).Summary by cubic
Automates announcing releases to Discord by posting full release notes as a rich embed. Runs on release publish and supports manual re-announce by tag.
release: publishedandworkflow_dispatchwith atag.gh release viewand posts a rich embed to the shared#releasechannel; embed title is prefixed with the repo name.DISCORD_RELEASE_CHANNEL_WEBHOOK_URLsecret; no per-repo setup.##to###) and truncates safely with a “full notes” link; per-tag concurrency prevents duplicate posts.Written for commit fbcf08c. Summary will update on new commits.