build: add PR stats to github workflow

In this PR, we introduce a new Github work flow tool that should help us
keep better track fo reviewer load across the proejct. Ideally this can
also be used as a tool to help new PRs find a reviewer, and also for us
to better balance out review load, and keep track of how long it takes
to do PR turnaround.
This commit is contained in:
Olaoluwa Osuntokun 2022-10-04 16:47:05 -07:00
parent c698b3acf2
commit 2f16997a98

17
.github/workflows/stats.yml vendored Normal file
View File

@ -0,0 +1,17 @@
name: Pull Request Stats
on:
pull_request:
types: [opened]
jobs:
stats:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Run pull request stats
uses: flowwer-dev/pull-request-stats@v2.5.0
with:
period: 30 # 30 days of review stats
charts: true