Moderating conversations creates a welcoming community for all contributors to your project by promoting healthy collaboration and de-escalating conflict. You can apply your community's code of conduct to discussions by editing and deleting comments and locking conversations.

Managing disruptive comments

If you have write permissions to a repository, you can edit or delete comments.

Locking conversations

Repository owners and collaborators, and people with write access to a repository, can lock conversations on issues, pull requests, and commits permanently or temporarily to defuse a heated interaction.

Further reading