From d130db919942f2e60127702a187a80f1a356dada Mon Sep 17 00:00:00 2001 From: Sapate Vaibhav Date: Wed, 8 May 2024 00:28:37 +0530 Subject: [PATCH] demo action --- .github/workflows/main.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml new file mode 100644 index 0000000..61f9a3d --- /dev/null +++ b/.github/workflows/main.yml @@ -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 }}