Skip to content

[FEAT]: Add discussion_category_name to create release payload #2746

@AndreyAkinshin

Description

@AndreyAkinshin

Describe the need

When I manually create a new release, GitHub provides a checkbox "Create a discussion for this release". In the rest API, there is a corresponding parameter:

discussion_category_name string
If specified, a discussion of the specified category is created and linked to the release. The value must be a category that already exists in the repository. For more information, see "Managing categories for discussions in your repository."

https://docs.github.com/en/rest/releases/releases?apiVersion=2022-11-28#create-a-release

It would be nice to provide relevant API in Octokit.

SDK Version

No response

API Version

GitHub REST API 2022-11-28

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Up for grabsIssues that are ready to be worked on by anyoneType: FeatureNew feature or requesthacktoberfestIssues for participation in Hacktoberfest

    Type

    No type

    Projects

    Status

    ✅ Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions