aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows/repo-stats.yml
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows/repo-stats.yml')
-rw-r--r--.github/workflows/repo-stats.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/.github/workflows/repo-stats.yml b/.github/workflows/repo-stats.yml
new file mode 100644
index 000000000..e41885f5d
--- /dev/null
+++ b/.github/workflows/repo-stats.yml
@@ -0,0 +1,20 @@
+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@HEAD
+ with:
+ ghtoken: ${{ secrets.ghrs_github_api_token }}
+