Skip to content

feat: support github discussions #243

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

bjohansebas
Copy link
Member

With this, GitHub discussions can now be added to the agenda, since there may be discussions that should be included in the agenda.

There is no REST API to retrieve repository discussions; this is done through GitHub's GraphQL API: https://docs.github.com/en/graphql/guides/using-the-graphql-api-for-discussions

See how it works (bjohansebas#41).

@ctcpip
Copy link
Contributor

ctcpip commented Aug 8, 2025

🎉 neat!

a couple things:

  1. needs error handling
    • while there is a large try/catch for the surrounding code, we would not want the entire operation to fail if there was only a failure in this code for retrieving discussions
  2. would like to see an option for this
    • not sure if this would be better as an opt-in or an opt-out, but it should be configurable
  3. needs test(s)

Signed-off-by: Sebastian Beltran <[email protected]>
@bjohansebas
Copy link
Member Author

@wesleytodd Could you please enable discussions in the repository?

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

Successfully merging this pull request may close these issues.

2 participants