Skip to content

Add Discord release announcements#2429

Merged
juliusmarminge merged 7 commits into
mainfrom
cursor/discord-release-webhook-87ea
May 1, 2026
Merged

Add Discord release announcements#2429
juliusmarminge merged 7 commits into
mainfrom
cursor/discord-release-webhook-87ea

Conversation

@juliusmarminge
Copy link
Copy Markdown
Member

@juliusmarminge juliusmarminge commented May 1, 2026

What Changed

Adds a release notification script and calls it from a final Discord announcement job after GitHub Release publishing succeeds and any stable version bump finalization completes. Prereleases mention the role ID from DISCORD_RELEASE_NIGHTLY_ROLE_ID; latest releases mention the role ID from DISCORD_RELEASE_LATEST_ROLE_ID.

Why

Release announcements should be pushed automatically to Discord, but Discord webhook failures should never block publishing artifacts, publishing the CLI, or committing stable version bumps.

UI Changes

Not applicable.

Checklist

  • This PR is small and focused
  • I explained what changed and why
  • I included before/after screenshots for any UI changes
  • I included a video for animation/interaction changes
Open in Web Open in Cursor 

Note

Add Discord release announcements to the release workflow

  • Adds scripts/notify-discord-release.ts, a CLI script that posts a formatted Discord webhook message for prerelease (nightly) or latest (stable) releases, including an embed with version, tag, and release URL.
  • Adds an announce_discord job to .github/workflows/release.yml that runs after a successful release and invokes the script with the appropriate role ID and metadata from workflow outputs.
  • The announcement step uses continue-on-error: true, so a failed Discord post does not fail the release workflow.
  • Role IDs and webhook URL are sourced from repository variables and secrets (DISCORD_RELEASE_NIGHTLY_ROLE_ID, DISCORD_RELEASE_LATEST_ROLE_ID, DISCORD_WEBHOOK_URL).

Macroscope summarized 5b66728.

Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 1, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 553296cb-0f87-4910-8ba2-340555908c4e

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cursor/discord-release-webhook-87ea

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:L 100-499 changed lines (additions + deletions). labels May 1, 2026
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
@juliusmarminge juliusmarminge marked this pull request as ready for review May 1, 2026 01:52
cursoragent and others added 5 commits May 1, 2026 01:55
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
@juliusmarminge juliusmarminge merged commit a480f07 into main May 1, 2026
11 of 12 checks passed
@juliusmarminge juliusmarminge deleted the cursor/discord-release-webhook-87ea branch May 1, 2026 02:13
Morphexe pushed a commit to Morphexe/t3code that referenced this pull request May 4, 2026
Co-authored-by: Cursor Agent <cursoragent@cursor.com>
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:L 100-499 changed lines (additions + deletions). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants