Skip to content

wangk8/github-reports

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Repo

Requirements

  • have nodejs installed.
  • have read access to all the repos and collaborators.
  • create a GH PAT Token (Artem: new PAT token does not seem to work, create classic token but be carefull with permissions)
  • set the env GH_TOKEN with the PAT Token's value
  • run npm install in the root of this project
export GH_TOKEN=[your token value]

Commands

  • Get all Repos
node . repos [repo name] --file [optional path to save to file] --all [optional includes all the repo members]

node . repos axleresearch --file "all-org.csv" --all
node . repos axleresearch --file "org.csv"
  • Get all Members
node . members [org name] [repo name] --file [optional path to save to file]

node . members axleresearch qhts --file "all-repo.csv"
  • Get all Outside collaborators
node . outside-collaborators [org name] --file [optional path to save to file]

node . outside-collaborators axleresearch  --file "outside.csv"
  • Get branch protection for all Repos
node . branch-protection [org name] --file [optional path to save to file] --verbose [optional verbose output, also -v]

node . branch-protection labshare --file "report.json"

About

Github reports CLI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%