Skip to content

Commit

Permalink
Added new YML file to store repo stats daily
Browse files Browse the repository at this point in the history
This leverages this repo/GitHub Action - https://github.com/jgehrcke/github-repo-stats
  • Loading branch information
jongpie authored Nov 2, 2022
1 parent 977993e commit 0eff577
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/fetch-repo-stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
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: store-repo-stats
runs-on: ubuntu-latest
steps:
- name: run-ghrs
uses: jgehrcke/github-repo-stats@RELEASE
with:
ghtoken: ${{ secrets.GH_PERSONAL_ACCESS_TOKEN }}

0 comments on commit 0eff577

Please sign in to comment.