Skip to content

ci: auto-announce releases to Discord with full notes#3

Merged
XinweiHe merged 1 commit into
mainfrom
ci/announce-release-discord
Jul 1, 2026
Merged

ci: auto-announce releases to Discord with full notes#3
XinweiHe merged 1 commit into
mainfrom
ci/announce-release-discord

Conversation

@XinweiHe

@XinweiHe XinweiHe commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Adds the same release→Discord announcer the other traceroot repos already 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. The embed title is prefixed with the repo name, so all repos land cleanly in the one channel.

The DISCORD_RELEASE_CHANNEL_WEBHOOK_URL secret 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.0 will trigger it (or use the manual workflow_dispatch with 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.

  • New Features
    • Triggers on release: published and workflow_dispatch with a tag.
    • Fetches notes via gh release view and posts a rich embed to the shared #release channel; embed title is prefixed with the repo name.
    • Uses org-wide DISCORD_RELEASE_CHANNEL_WEBHOOK_URL secret; no per-repo setup.
    • Formats for Discord (demotes ## 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.

Review in cubic

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>

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 1 file

Re-trigger cubic

@XinweiHe
XinweiHe merged commit 42a6d5f into main Jul 1, 2026
6 checks passed
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