GitHub Discussions is a community-oriented Q&A and discussion platform, similar to forums. It allows teams, communities and users to discuss around projects.
| Feature | Discussions | Issues |
|---|---|---|
| Purpose | Q&A, discussion, sharing | Track bugs, feature requests |
| Structure | Categories, labels, answers | Labels, milestones, assignees |
| Answers | Can mark best answer | No answer concept |
| Social | Likes, comments, follows | Comments, subscriptions |
| Closing | No need to close | Can be closed |
- Go to repository Settings
- Check Discussions in Features section
- Click Set up discussions
| Category | Purpose |
|---|---|
| 📣 Announcements | Official announcements |
| 💬 General | General discussion |
| 💡 Ideas | Ideas and suggestions |
| 🙋 Q&A | Questions and answers |
| 📝 Show and tell | Showcase and sharing |
- Go to Discussions page
- Click Categories
- Click New category
- Set name, description and icon
Title: How to configure database connection?
I'm getting an error when trying to connect to PostgreSQL database...
[Error message]
Does anyone know how to solve this?
Title: Suggestion: Add dark mode support
I think this project could add dark mode functionality...
[Detailed description]
What does everyone think?
Title: I built a XXX with this project
Hello everyone, I developed an application using this project...
[Screenshots and description]
Welcome feedback!
- Reply in discussion
- Click ... menu next to reply
- Select Mark as answer
Best answer will be highlighted, making it easy for later users to quickly find solutions.
Prevent further comments:
- Click Lock discussion
- Select lock reason
If discussion reveals a bug:
- Click Convert to issue
- Issue will link to original discussion
- Click Delete discussion
- Confirm deletion
Define in .github/CODEOWNERS:
# Discussions managed by community team
.github/discussions/ @community-team
Add responsible person in Discussion:
- Click Assignees on right side
- Select responsible person
- Set Clear Categories: Help users find correct discussion area
- Reply Promptly: Keep community active
- Mark Best Answers: Convenient for later users
- Regular Cleanup: Delete meaningless content
- Encourage Participation: Thank contributors
Related Issue: #123
Related PR: #456
Use Issue labels to categorize discussions.