Skip to content

ghinks/pr-reviews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pr-reviews

For a github organization get the pull requests reviews for all repositories within a time range and produce a table with the reviewers and the number of PRs reviewed by them.

A very linear approach is being taken

  • query the org to get the repositories
  • query the repositories to get the pull requests
  • query the pull requests to get the reviews
  • count the reviews by reviewer
  • present a an ordered table of the reviewers and the number of reviews

Usage

python pr_reviews.py --org "my-org" --start-date "2021-01-01" --end-date "2021-12-31"

This program uses your local environment to authenticate with github using the GITHUB_TOKEN environment variable.

Development

linting

poetry run black .

local development

python -m pr_reviews.main --help

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages