Skip to content

Commit

Permalink
Added action for collecting repo stats
Browse files Browse the repository at this point in the history
Why: To get stats more than 14 days to handle github limitation

How: By using github action from jgehrcke

Tags: [actions]
  • Loading branch information
sarvsav committed Jun 16, 2024
1 parent e32f653 commit 574083c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/repo-stats-collector.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Collect Repository Stats
on:
schedule:
- cron: "0 7 * * *"
workflow_dispatch:

jobs:
j1:
if: github.repository == 'sarvsav/go-starter-template'
name: repostats-for-project
runs-on: ubuntu-latest
steps:
- name: run-ghrs
uses: jgehrcke/github-repo-stats@RELEASE
with:
repository: sarvsav/go-starter-template
ghtoken: ${{ secrets.PERSONAL_GITHUB_TOKEN }}

0 comments on commit 574083c

Please sign in to comment.