Skip to content

Update README.md

Update README.md #435

Workflow file for this run

name: Sync Study Status
on: {}
#schedule:
# - cron: '0 0 * * *' # 每天午夜运行
#push:
# branches: [ main ] # 每次推送到main分支时也运行
jobs:
update-readme:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install PyGithub pytz
- name: Update README
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: python sync_status_readme.py
- name: Commit changes
run: |
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add README.md
git commit -m "Update commit status table" || exit 0
git push