-
Notifications
You must be signed in to change notification settings - Fork 152
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
Investigate supporting GitHub Discussions webhooks #480
Investigate supporting GitHub Discussions webhooks #480
Comments
@mickmister tried exploring the solution for this, community/community#2959 let me know if we want to try the beta model of webhook , not sure but can try it if we can use same. |
@sibasankarnayak Thanks a bunch for looking into this. 1/5 Let's hold off on implementing this until the offering from GitHub is more stable, as this ticket is not particularly a highly requested feature. Hopefully the necessary pieces become part of the I'll keep the issue open though since it seems like it does seem to have some traction (based on reactions of the issue). @hanzei Thoughts on this whole situation? |
👍 for waiting a bit. Until |
Hey everyone, just curious if the support from GitHub / other dependencies is there yet to look at supporting this when there is time? I tried to look into it a bit, and it looks like there is now, but I'm not intimate with what's required exactly. |
Everything is there now. https://docs.github.com/en/developers/webhooks-and-events/webhooks/webhook-events-and-payloads#discussion covers the API docs and go-github also supports it: https://pkg.go.dev/github.com/google/go-github/v42/github#DiscussionEvent |
I will take a look at getting this added. Please assign it to me and I will work on adding support for this. |
Quick update, I will have a PR for this soon. I have not added the ability to directly comment or answer discussions using the GitHub plugin at this time. My initial approach has been to get the discussion and discussion comments flowing via GitHub webhooks only. |
Here is a first pass #808. Please let me know what you would like to see changed! I did not go too deep on the templating. |
There is a request to support subscriptions for GItHub Discussions, which is a topic-based discussion tool provided by GitHub. Here's the original request from community:
Hi everyone, apologies if this is the wrong place to raise this. Our team currently love and use the plugin all the time and were wondering if there are plans to add subscriptions for "discussions"? Like how under "features" there are issues, pulls, etc. Would be very handy if "discussions" could be subscribed to, with pretty much the same behaviour as issues, so when created, commented on, etc.
Issue created from a Mattermost message by
@samw
.The text was updated successfully, but these errors were encountered: