1.0.1 • Published 4 years ago

ghrepolint-sandbox v1.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
4 years ago

ghrepolint

Lint for GitHub Repository governance.

Usage

npx ghrepolint -h

To 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: boolean
  • requiredStatusChecks: Array<string>

require-codeowners

Check existetnce CODEOWNERS file.

To enable rule set value true.

Development

Build with watch and run

npm run watch
bin/cli.js --org github

Test

npm t
1.0.1

4 years ago

1.0.0

4 years ago

0.1.0

4 years ago

0.0.2

4 years ago

0.0.1

4 years ago