New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Github Workflow events not received #6203
Comments
I have invalidated the webhook url you posted, kindly avoid posting webhook urls with their token or any other sensitive data |
Please set See https://discord.com/developers/docs/resources/webhook#execute-githubcompatible-webhook |
Thank you @yonilerner. But the documentation says |
As workarround, i'm using the github action th0th/notify-discord |
I'm observing exactly the same problem. The events appeared as correctly sent with a I could correctly deliver Github |
Certain github events don't have a custom embed and get discarded by that endpoint. Have you seen an embed for this before? I believe only the most common events have embed behavior defined (since there is an absurd number of possible events). |
No, it's the first time I was trying it.
Maybe the list of supported events should be documented? |
Thanks for pointing that out ckohen. I just looked into this more, the events we support are:
Ill add a TODO for us to document that |
Thanks for providing the list of supported events. I guess then that this issue is a feature request for adding support to |
@yonilerner any chance you could support events relating stars, like |
knowing when someone stars a repository is already supported if that's what you mean |
We will not be adding any new events at this time, sorry. I am closing this issue but we have an item on our backlog to improve documentation around this. |
Very sad that workflow events won't get added. Is there any place we can request the feature to be added even if it's not to be added at this time? |
@yonilerner has the documentation of these events been added somewhere or is the list you posted here still valid? |
The list here is still valid |
Not integrating GitHub deployments for now since creating a deployment (anywhere) causes "This branch has not been deployed" message to appear on unrelated branches. Also, the Discord /github webhook doesn't support deployment status events anyway - Discord accepts and responds to the webhook with a 204 but it doesn't appear in the channel. This is not a big issue, we can easily massage the payload ourselves, but just mentioning this for posterity. Refs: * [Corresponding issue on Discord](discord/discord-api-docs#6203 (comment)) * [A general recipe](https://gist.github.com/jagrosh/5b1761213e33fc5b54ec7f6379034a22) --- For deleting the existing deployment I had to ``` gh api /repos/ente-io/ente/deployments --jq=".[].id" gh api --method DELETE -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" "/repos/ente-io/ente/deployments/1375794893" ``` This helpful hint taken from https://github.com/orgs/community/discussions/46375. Thanks!
Description
My discord channel not receiving a worflow events sent by github webhook. These events are sucessfully sent with response status code 204, but my channel don't received it.
Steps to Reproduce
Here is one of requests send by github for worflow_run.completed event:
HEADERS:
PAYLOAD:
Expected Behavior
The workflow events message should show in discord channel
Current Behavior
The workflow events are successfully sent from github. but i don't receive message any message in discord channel
Screenshots/Videos
Capture of last events sent by github.
Only issue close and open event are received in discord channel
Client and System Information
Using a Github webhook.
The text was updated successfully, but these errors were encountered: