From 2f16997a98c725e2cda8db669a72145cfbe091dd Mon Sep 17 00:00:00 2001 From: Olaoluwa Osuntokun Date: Tue, 4 Oct 2022 16:47:05 -0700 Subject: [PATCH] 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. --- .github/workflows/stats.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/stats.yml diff --git a/.github/workflows/stats.yml b/.github/workflows/stats.yml new file mode 100644 index 000000000..d3ffb7aff --- /dev/null +++ b/.github/workflows/stats.yml @@ -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