Skip to main content

Participating in a discussion

You can converse with the community and maintainers in a forum within the repository for a project on GitHub Enterprise Cloud.

People with read access to a repository can participate in discussions and polls in the repository. People with read access to the source repository for organization discussions can participate in discussions and polls in that organization. Members of an enterprise with managed users can only interact with repositories within their enterprise.

About participation in a discussion

GitHub Discussions is an open forum for conversation among maintainers and the community for a repository or organization on GitHub Enterprise Cloud. For more information, see "About discussions."

In addition to starting or viewing discussions and polls, 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.

You can block users and report disruptive content to maintain a safe and pleasant environment for yourself on GitHub Enterprise Cloud. For more information, see "Maintaining your safety on GitHub."

Prerequisites

GitHub Discussions must be enabled for the repository or organization for you to participate in a discussion in the repository or organization. For more information, see "Enabling or disabling GitHub Discussions for a repository" and "Enabling or disabling GitHub Discussions for an organization."

Creating a discussion

  1. On GitHub.com, navigate to the main page of the repository or organization where you want to start a discussion.
  2. Under your repository or organization name, click Discussions. "Discussions" tab for a repository
  3. Click New discussion. "New discussion" button within the "Discussions" tab for a repository
  4. Select the Select Category drop-down menu, and click a category for your discussion. "Select Category" drop-down menu and list of available categories in a repository
  5. Type a title and body for your discussion. Text fields for new discussion's title and body
  6. Click Start discussion. "Start discussion" button

Creating a poll

  1. On GitHub.com, navigate to the main page of the repository.
  2. Under your repository or organization name, click Discussions. "Discussions" tab for a repository
  3. In the list of categories, click Polls. Screenshot showing "Poll" category
  4. On the right, click Start poll. Screenshot showing the "Start poll" button
  5. Type a title and optional body for your poll. Screenshot showing text fields for title and body
  6. Type a question for your poll. Screenshot showing text fields for the poll's question
  7. Type at least two options for your poll. Screenshot showing text fields for the poll's options
  8. Optionally, to add a extra poll options, click Add an option. Screenshot showing "Add an option" button
  9. Click Start poll. Screenshot showing the "Start poll" button

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. Similarly, discussion authors and users with the triage role or greater for the source repository for organization discussions can mark a comment as the answer to a discussion in the organization.

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 Enterprise Cloud will highlight the comment and replies to the comment to help visitors quickly find the answer.

Comment marked as answer to a discussion

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.

  1. On GitHub.com, navigate to the main page of the repository or organization.
  2. Under your repository or organization name, click Discussions. "Discussions" tab for a repository
  3. In the list of discussions, click the unanswered discussion you want to mark as answered. Unanswered discussion
  4. In the discussion, find the comment you want to mark as the answer.
  5. In the upper-right corner of the comment, click . "Mark as answer" circular check icon for marking comment as answer in a discussion
  6. Optionally, to unmark a comment as the answer, click .