Skip to content

Commit

Permalink
Merge pull request #126 from matorral-project/add-gh-repo-stats-action
Browse files Browse the repository at this point in the history
Added github action to calculate repo stats
  • Loading branch information
matagus authored Mar 25, 2024
2 parents 6a9d339 + 796d6e2 commit 131c863
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/gh-repo-stats.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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: "30 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.GHRS_GITHUB_API_TOKEN }}

0 comments on commit 131c863

Please sign in to comment.