Skip to content

Commit 92ccdce

Browse files
authored
Create update-readme.yml
1 parent adef416 commit 92ccdce

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Update README
2+
3+
on:
4+
push:
5+
branches:
6+
- main
7+
8+
jobs:
9+
update-readme:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Set up Python
14+
uses: actions/setup-python@v4
15+
with:
16+
python-version: "3.x"
17+
- name: Run update script
18+
run: python .github/scripts/update_readme.py
19+
- name: Commit changes
20+
run: |
21+
git config --global user.name "github-actions[bot]"
22+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
23+
git add README.md
24+
git commit -m "Update progress in README [skip ci]" || echo "No changes to commit"
25+
git push

0 commit comments

Comments
 (0)