From 6aa9b8f2997bcd751f67cb27a7a15b7edb351a71 Mon Sep 17 00:00:00 2001 From: Yinlin Chen Date: Tue, 7 Mar 2023 11:33:49 -0500 Subject: [PATCH] add stats action --- .github/workflows/github-repo-stats.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/github-repo-stats.yml diff --git a/.github/workflows/github-repo-stats.yml b/.github/workflows/github-repo-stats.yml new file mode 100644 index 00000000..4b13a715 --- /dev/null +++ b/.github/workflows/github-repo-stats.yml @@ -0,0 +1,19 @@ +name: github-repo-stats + +on: + schedule: + # Run this once per day, towards the end of the day for keeping the most + # recent data point most meaningful (hours are interpreted in UTC). + - cron: "0 23 * * *" + workflow_dispatch: # Allow for running this manually. + +jobs: + j1: + name: github-repo-stats + runs-on: ubuntu-latest + steps: + - name: run-ghrs + # Use latest release. + uses: jgehrcke/github-repo-stats@v1.4.2 + with: + ghtoken: ${{ secrets.ghrs_github_api_token }} \ No newline at end of file