fleetlint Policy for a fleet of repositories
v0.11 (latest)
Getting started

public/code-of-conduct

Public repository has a code of conduct

Severityinfo
Tiers1
Stacksany
Scoperoot
Kindexpr
Sourcelibrary v0.8.0
Selected byfleetlint-recommended@v0.8.0

Requirement

A CODE_OF_CONDUCT file exists at the root or in .github/, docs/ or .gitea/; its content is not checked.

Why

Forges surface it in the community profile; contributors look for it before engaging.

Applies when

repo.public

Check

glob("CODE_OF_CONDUCT*").exists(f, !f.contains("/")) || 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.

A finding that names no file points at CODE_OF_CONDUCT.md.

Sources


Generated by fleetlint docs from catalog v0.8.0.