Building communities documentation
Learn best practices for moderating and setting up collaborative, safe, and effective communities using GitHub’s community-tested tools.
Start here
Setting guidelines for repository contributors
You can create guidelines to communicate how people should contribute to your project.
Adding a code of conduct to your project
Adopt a code of conduct to define community standards, signal a welcoming and inclusive project, and outline procedures for handling abuse.
Managing disruptive comments
You can hide, edit, or delete comments on issues, pull requests, and commits.
Popular
Creating a pull request template for your repository
When you add a pull request template to your repository, project contributors will automatically see the template's contents in the pull request body.
Reporting abuse or spam
You can report behavior and content that violates community guidelines and terms.
Adding a license to a repository
You can include an open source license in your repository to make it easier for other people to contribute.
Configuring issue templates for your repository
You can customize the templates that are available for contributors to use when they open new issues in your repository.
Editing wiki content
You can add images and links to content in your wiki, and use some supported MediaWiki formats.
Blocking a user from your personal account
You can block a user to deny them access to your activity and repositories, and to prevent them from sending you notifications.
Blocking a user from your organization
Organization owners and moderators can block anyone who is not a member of the organization from collaborating on the organization's repositories.
Setting up your project for healthy contributions
- About community management and moderation
- About community profiles for public repositories
- Accessing a project's community profile
- Adding a code of conduct to your project
- Setting guidelines for repository contributors
- Adding a license to a repository
- Adding support resources to your project
- Creating a default community health file
- Encouraging helpful contributions to your project with labels
Using templates to encourage useful issues and pull requests
- About issue and pull request templates
- Configuring issue templates for your repository
- Syntax for issue forms
- Syntax for GitHub's form schema
- Creating a pull request template for your repository
- Manually creating a single issue template for your repository
- Common validation errors when creating issue forms
Moderating comments and conversations
- Managing disruptive comments
- Locking conversations
- Limiting interactions in your repository
- Limiting interactions for your personal account
- Limiting interactions in your organization
- Tracking changes in a comment
- Managing how contributors report abuse in your organization's repository
- Managing reported content in your organization's repository