public/code-of-conduct
Public repository has a code of conduct
| Severity | info |
| Tiers | 1 |
| Stacks | any |
| Scope | root |
| Kind | expr |
| Source | library v0.4.0 |
| Selected by | fleetlint-recommended@v0.4.0 |
Requirement
A code of conduct (Contributor Covenant is fine) with a contact address, at the root or in .github/, docs/ or .gitea/.
Why
Forges surface it in the community profile; contributors look for it before engaging.
Applies when
repo.publicCheck
exists("CODE_OF_CONDUCT*") || exists(".github/CODE_OF_CONDUCT*") || exists("docs/CODE_OF_CONDUCT*") || exists(".gitea/CODE_OF_CONDUCT*")Fix
Add CODE_OF_CONDUCT.md (Contributor Covenant 2.1) with a contact address.
Agent instruction: Add CODE_OF_CONDUCT.md using the Contributor Covenant 2.1 text; ask the user for the contact address.
Sources
- https://docs.github.com/en/communities/setting-up-your-project-for-healthy-contributions/adding-a-code-of-conduct-to-your-project (guidance)
- https://www.contributor-covenant.org/ (standard)
- https://fleetlint.org/baseline/#public-repositories
Generated by fleetlint docs from catalog v0.4.0.