ghrepolint-sandbox
v1.0.1
Published
Lint for repository governance
Downloads
4
Readme
ghrepolint
Lint for GitHub Repository governance.
Usage
npx ghrepolint -hTo target private repository set your GitHub API Token to environment variable GITHUB_TOKEN.
Rules
require-branch-protection
Check branch protection settings.
To enable rule set value object which contains below keys:
requireCodeOwnerReviews: booleanrequiredStatusChecks: Array<string>
require-codeowners
Check existetnce CODEOWNERS file.
To enable rule set value true.
Development
Build with watch and run
npm run watchbin/cli.js --org githubTest
npm t