Skip to content

Commit

Permalink
demo action
Browse files Browse the repository at this point in the history
  • Loading branch information
sapatevaibhav authored May 7, 2024
1 parent a17ed96 commit d130db9
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Daily 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 5 * * *"
workflow_dispatch: # Allow for running this manually.

jobs:
j1:
name: repostats-for-learn
runs-on: ubuntu-latest
steps:
- name: run-ghrs
uses: jgehrcke/github-repo-stats@RELEASE
with:
# Define the stats repository (the repo to fetch
# stats for and to generate the report for).
# Remove the parameter when the stats repository
# and the data repository are the same.
repository: VaibhavCOdeCLub/learn
# Set a GitHub API token that can read the GitHub
# repository traffic API for the stats repository,
# and that can push commits to the data repository
# (which this workflow file lives in, to store data
# and the report files).
ghtoken: ${{ secrets.WORK }}

0 comments on commit d130db9

Please sign in to comment.