Steps
Create a Discord webhook
In Discord, open the channel settings, then Integrations, then Webhooks, create one and press Copy Webhook URL. You need the Manage Webhooks permission on that channel. New to webhooks? See Discord webhooks for beginners.
Your own repo: add /github to the end of the URL
Discord has a GitHub-compatible endpoint. Take the webhook URL and add
/githubat the end, so it looks likehttps://discord.com/api/webhooks/ID/TOKEN/github. Without/githubnothing readable gets posted.Add it to the repository on GitHub
In the repo, open Settings, then Webhooks, then Add webhook. Paste the URL as the Payload URL and set Content type to
application/json. Choose Let me select individual events and tick only what you want, such as Issues, Pull requests and Releases. Organization owners can add one webhook in the organization's settings to cover every repo.Someone else's repo: watch its releases feed
You can only add webhooks to repos you administer. For any public repo, GitHub publishes an Atom feed of releases at
https://github.com/OWNER/REPO/releases.atom(and tags at/tags.atom, commits at/commits/BRANCH.atom). Put those URLs inFEEDSof the free RSS to Discord agent with yourDISCORD_WEBHOOK_URL, test withpython3 rss_to_discord.py --dry-run, then run it every 30 to 60 minutes.Filter out the noise
Every event becomes a new message, so a busy repo floods a channel quickly. Send fewer event types, use one channel per repo, and for feeds set
KEYWORDSso only matching titles get through (see the gotcha below).
Using the n8n Discord node and getting Cannot send an empty message, Invalid Form Body or Invalid Webhook Token? See n8n Discord node not working (20 tested errors).
Events Discord understands
According to Discord's developer docs, the /github endpoint supports push, pull_request, pull_request_review, pull_request_review_comment, issues, issue_comment, commit_comment, create, delete, fork, watch (stars), release, check_run, check_suite, discussion, discussion_comment, member and public. Other events, such as workflow_run, are not on that list, so tick only events from it.
The gotcha: moving release tags
When we tested the n8n repo's releases.atom, the feed mixed real versions (n8n@2.44.3, n8n@2.43.7) with moving releases called stable, beta and v1 that get updated in place. Our agent remembers each feed entry by its id, so a moving release is posted once and later updates to it are not posted again. The fix is a keyword filter on the version pattern: with KEYWORDS=n8n@ the dry run kept only the 7 numbered releases and dropped the moving ones.
FEEDS=https://github.com/n8n-io/n8n/releases.atom,https://github.com/OWNER/REPO/releases.atom
KEYWORDS=n8n@
DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/XXX/YYY
python3 rss_to_discord.py --dry-runPick a keyword that matches how that project names its versions; an empty KEYWORDS posts everything.
What about issues on repos you don't own?
GitHub has no Atom feed for issues: /issues.atom returned an error when we tried it. To follow issues or pull requests on someone else's repo, use GitHub's own notifications (Watch, then Custom), or poll the REST API (GET /repos/OWNER/REPO/issues?state=open&sort=created) from an n8n Schedule Trigger and pass the results through Remove Duplicates across executions before the Discord node.
Good to know
- GitHub doesn't retry a failed delivery on its own. If Discord was down, open the webhook's Recent Deliveries tab and press Redeliver.
- Want each release in a thread? Discord's webhook endpoints accept a
thread_idquery parameter for a thread in that channel. - Release notes can be long. The agent posts the release title and link, which keeps the channel readable.
- Release candidates: the feed doesn't mark pre-releases, so add
EXCLUDE=-rc,betato skip them (it checks the title and the link). - Want releases in Telegram instead? See GitHub release notifications in Telegram.
Skip the setup: free download
The RSS to Discord agent does all of this. It's tested, MIT-licensed, and comes as an n8n workflow plus a Python script.
Get the free RSS to Discord agent → Or have us build yours →
FAQ
Do I need a Discord bot?
No. Both methods use a plain channel webhook. Nothing has to stay online for the /github method, because GitHub sends events straight to Discord.
Why does my GitHub webhook show errors or post nothing?
Check the URL ends in /github and the content type is application/json. A webhook URL without /github gets GitHub's raw payload, which Discord can't turn into a message.
Can I get only new releases, not every push?
Yes. Choose Let me select individual events and tick only Releases. For repos you don't own, use the releases.atom feed with the RSS to Discord agent.
Does this work for private repos?
The /github webhook does, if you're an admin of the repo. The Atom feeds of private repos need a logged-in session, so use the webhook there.
Related guides
- GitHub release notifications in Slack (any public repo, stable releases only)
- GitHub release notifications in Telegram (free, skip pre-releases)
- Post new YouTube videos to Discord automatically (free, no bot)
- Send RSS feeds to Telegram with a keyword filter (free, no bot hosting)
- n8n Crypto node not working: HMAC webhook signatures that never match, missing secret and errors, 57 runs
New guides
- Send RSS feeds to Slack with a keyword filter (free, incoming webhook)
- Forward emails to a Slack channel (Gmail, Outlook, any IMAP), free with an incoming webhook
- n8n Google Sheets Trigger not working: not firing, activation errors and fixes
- n8n Gmail Trigger not working: not firing, silent errors and fixes