Skip to content

Make Weekly Stats

Make Weekly Stats #41

Workflow file for this run

name: Make Weekly Stats
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * 1'
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
ref: main
- name: My GitHub Status
uses: yihong0618/github-readme-stats@main
with:
GH_TOKEN: "${{ secrets.G_T }}"
WITH_STARED: false
- name: Push README
run: |
git config --local user.email "action@github.com"
git config --local user.name "GitHub Action"
git add .
git commit -m "new daily stats" || echo "no file change"
git push || echo "no need push"