Note: GitHub Discussions is currently in beta and subject to change.
About participation in a discussion
Discussions are an open forum for conversation among maintainers and the community for a project on GitHub. For more information, see "About discussions."
In addition to starting or viewing a discussion, you can comment in response to the original comment from the author of the discussion. You can also create a comment thread by replying to an individual comment that another community member made within the discussion, and react to comments with emoji. For more information about reactions, see "About conversations on GitHub."
You can block users and report disruptive content to maintain a safe and pleasant environment for yourself on GitHub. For more information, see "Maintaining your safety on GitHub."
Prerequisites
Discussions must be enabled for the repository for you to participate in a discussion in the repository. For more information, see "Enabling or disabling discussions for a repository."
Creating a discussion
- On GitHub, navigate to the main page of the repository.
- Under your repository name, click Discussions.
- Click New discussion.
- Select the Select Category drop-down menu, and click a category for your discussion.
- Type a title and body for your discussion.
- Click Start discussion.
Marking a comment as an answer
Discussion authors and users with the triage role or greater for a repository can mark a comment as the answer to a discussion in the repository.
You can mark a comment in the discussion as an answer to the discussion if a discussion is within a category that accepts answers. For more information, see "About discussions."
When you mark a question as an answer, GitHub will highlight the comment and replies to the comment to help visitors quickly find the answer.
You can't mark a threaded comment in response to a comment as the answer to a discussion. You also can't mark a minimized comment as the answer to a discussion.
- On GitHub, navigate to the main page of the repository.
- Under your repository name, click Discussions.
- In the list of discussions, click the unanswered discussion you want to mark as answered.
- In the discussion, find the comment you want to mark as the answer.
- In the upper-right corner of the comment, click .
- Optionally, to unmark a comment as the answer, click .