Skip to content
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

feature request: support posting comment to GitHub discussion #67

Open
ktravers opened this issue Jun 3, 2024 · 1 comment
Open

feature request: support posting comment to GitHub discussion #67

ktravers opened this issue Jun 3, 2024 · 1 comment

Comments

@ktravers
Copy link

ktravers commented Jun 3, 2024

In addition to posting comments to issues and pull requests, it would also be helpful to be able to post to GitHub discussions. For example, my team uses discussions for 1) collecting feedback on features and 2) logging decisions, two scenarios where being able to easily capture related Slack threads in a comment would be a very useful time saver.

Current behavior:

gh slack -i https://github.com/monalisa/smile/discussions/1 https://monalisa.slack.com/archives/channelIdentifier/threadIdentifier
not a repository or issue URL: "https://github.com/monalisa/smile/discussions/1"

Requested behavior:

gh slack -i https://github.com/monalisa/smile/discussions/1 https://monalisa.slack.com/archives/channelIdentifier/threadIdentifier
https://github.com/github/monalisa/smile/discussions/1#discussioncomment-123
@rneatherway
Copy link
Owner

I'd be happy to accept a PR to support this 👍. I can't find a REST API for discussions otherwise I probably would have done it myself. GraphQL is a bit more fiddly. If you need any pointers as to where to add it I am happy to drop them here 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants