-
Find the Discord channel in which you would like to send commits and other updates
-
In the settings for that channel, find the Webhooks option and create a new webhook. Note: Do NOT give this URL out to the public. Anyone or service can post messages to this channel, without even needing to be in the server. Keep it safe!
-
Star
(1,147)
You must be signed in to star a gist -
Fork
(152)
You must be signed in to fork a gist
-
-
Save jagrosh/5b1761213e33fc5b54ec7f6379034a22 to your computer and use it in GitHub Desktop.
I ended up using this Github Actions: https://github.com/marketplace/actions/actions-status-discord
Will I be able to show the entire commit message using this?
What I get on discord:
It truncates a large portion of my commit messages. This is how I show progress on my project(s).
It totally depends on you, grab all commit messages in your action steps and pass them to this action in "description" param
I don't need that, just want the PR title, so this is what I got:
Got it working:
- delete hook
- create new hook
- add /github at the end,
- select content type to
application/json
thx
FYI - If wanting to send GitHub messages to a Discord forum thread, add "/github?thread_id=[thread number here from thread URL]"
Ty for this. Anyone know how to filter pull requests only? It would be ideal to have pull request opened and closed only to avoid clutter.
How do I have this webhook pull posts from another discord server and post into mine? is that even possible?
Got it working:
1. delete hook 2. create new hook 3. add /github at the end, 4. select content type to `application/json`
my man <3 +1
Yes it's working <3
Got it working:
1. delete hook 2. create new hook 3. add /github at the end, 4. select content type to `application/json`
my man <3 +1
Yes it's working <3
It works for me, thanks
Very helpful, thank you. In my case I only needed it for issue ticket integration, so I selected "Let me select individual events" 👍🏼
Works perfectly!
This is perfect for not needing to update my partners each time I make changes. Thank you for this! 🎉
Will I be able to show the entire commit message using this?
What I get on discord:

It truncates a large portion of my commit messages. This is how I show progress on my project(s).