Repo Stats #247
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Uses https://github.com/jgehrcke/github-repo-stats to overcome the 14-day limitation of GitHub's built-in traffic statistics. | |
name: "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: | |
snapshot: | |
name: github-repo-stats | |
runs-on: ubuntu-latest | |
steps: | |
- name: run-ghrs | |
# Use latest release. | |
uses: jgehrcke/[email protected] | |
with: | |
databranch: github-repo-stats | |
ghtoken: ${{ secrets.REPO_STATS_TOKEN }} |