github: shadowy octopus with the head of a robot, emblazoned with the Dreamwidth swirl (Default)
github ([personal profile] github) wrote in [site community profile] changelog2026-06-17 12:55 pm

Announce only main-branch commits to Discord (#3589)

Announce only main-branch commits to Discord (#3589)

GitHub's native repository -> Discord webhook fires its push event on every ref, so commits on PR/feature branches were announced in Discord too. Native webhooks can't filter by branch, so push notifications move to this workflow (gated to main) and the push event is removed from the native webhook, which keeps handling pull_request/issues/release/etc.

The workflow posts a commit summary embed mirroring the native push message to the same Discord channel, via the DISCORD_COMMITS_WEBHOOK secret.

Co-authored-by: Claude Opus 4.8 noreply@anthropic.com

Commit: 940eab7b Author: Mark Smith