Skip to content

github-repo-stats

github-repo-stats #633

# Stores GitHub repo stats daily, to overcome the 14-day limitation of GitHub's built-in traffic statistics.
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@RELEASE
with:
ghtoken: ${{secrets.MATHESAR_ORG_GITHUB_TOKEN}}