you can use this project to get Repo average PR review time, along bunch of other data
please refer to the generated metrics.xlsx for more details.
to see an example of the generated sheets, please refer to metrics. please note that the sheet is just an example.
refer to example config to create config.yml under the same place
please note that the generated output by default will be under /tmp/github-metrics/metrics.xlsx
as the container mounting /tmp/github-metrics from the host, if you wish to change that please update Dockerfile and Makefile accordingly
make docker-build
make docker-runplease note the following command line arguments
- out: define the output directory of the generated Excel sheet, default to
/tmp - from: from date that would be used to read the contributions from, default
begining of the current month - to: to date that would be used to read the contributions from, default
end of the current month
go build -v -o github-metrics
./github-metrics -out=/tmp -from=2023-01-01 -to=2023-05-01