+
Skip to content

.github/workflows/stats-update.yml #139

.github/workflows/stats-update.yml

.github/workflows/stats-update.yml #139

Workflow file for this run

on:
schedule:
- cron: '0 0 * * 0' # once a week
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Generate README.md
uses: teoxoy/profile-readme-stats@v2
with:
token: ${{ secrets.GHACTION }}
- name: Update README.md
run: |
if [[ "$(git status --porcelain)" != "" ]]; then
git config user.name github-actions[bot]
git config user.email 41898282+github-actions[bot]@users.noreply.github.com
git add .
git commit -m "Update README with stats"
git push
fi
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载