Skip to content

Add support for GitHub discussions #346

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

Closed
wants to merge 2 commits into from
Closed

Conversation

xcorail
Copy link

@xcorail xcorail commented Apr 24, 2025

This pull request adds support for GitHub discussions, including the following features:

  • Listing discussions in a repository.
  • Retrieving a specific discussion by ID.
  • Creating a new discussion in a repository.
  • Adding a comment to a discussion.

Corresponding tests have been added to ensure the functionality is robust and adheres to the repository's style guide.

@Copilot Copilot AI review requested due to automatic review settings April 24, 2025 19:13
@xcorail xcorail requested a review from a team as a code owner April 24, 2025 19:13
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This pull request adds support for GitHub discussions by introducing new functions for listing, retrieving, creating discussions, and adding discussion comments, along with corresponding test stubs.

  • Added stub implementations for GitHub discussions functionality.
  • Introduced test placeholder functions for each new discussion operation.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
pkg/github/discussions_test.go Added placeholder test functions.
pkg/github/discussions.go Added stub implementations for discussion APIs.

@xcorail xcorail closed this Apr 24, 2025
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.

1 participant