Code of Conduct Notifier Action: 2021 GitHub Actions Hackathon
Bogdan Covrig
Posted on December 6, 2021
The challenge of managing online communities is continuously growing. Often times the members are spread across multiple platforms, making it harder to get a complete snapshot of its members' interactions and behavior. While platforms employ different tools and methods to moderate (potentially harmful) conversations, the moderators' priority will always be to create a safe and positive community experience for everybody.
This Action aims to help just a little bit the GitHub communities moderators into enforcing their Code of Conduct.
My Workflow
For this year's 2021 GitHub Actions Hackathon, I have built a simple GitHub Action that notifies the members of the community of their Code of Conduct document when this is mentioned. The Action will reply to issues and pull requests comments when the keywords code of conduct are mentioned, helping the maintainers to quickly share the Code of Conduct document without going back and forth copy-pasting URLs. The Action will take care of this part.
Submission Category:
Maintainer Must-Haves
Yaml File or Link to Code
The action is a composite action built on tope of the github-script@v5
action, using its functionality to retrieve and post comments in the GitHub issues and pull requests. The YAML file of the action is available in the repository under action.yml
More information and examples are available in the repository of the action BogDAAAMN/code-of-conduct-notifier-action. If you want to get started and use the action, you can visit the GitHub Marketplace page: Code of Conduct Notifier.
bogdaaamn / code-of-conduct-notifier-action
Simple Action that reminds the members of your community about the Code of Conduct
Additional Resources / Info
The information presented in the description of the action, the inspiration, and the default messages used by the action are shaped from the following sources:
- Constellation Report: State of Community Tools 2021 by @Orbit
- Mozilla Community Participation Guidelines by Mozilla Corporation
- Feedback and conversations with @VirtualCoffee friends
Posted on December 6, 2021
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.