Unified · Split
| @@ -1,29 +0,0 @@ | ||
| 1 | −name: Build README | |
| 2 | − | |
| 3 | −on: | |
| 4 | − push: | |
| 5 | − branches: [main] | |
| 6 | − | |
| 7 | −jobs: | |
| 8 | − build: | |
| 9 | − runs-on: ubuntu-latest | |
| 10 | − steps: | |
| 11 | − - name: Check out repo | |
| 12 | − uses: actions/checkout@v4 | |
| 13 | − | |
| 14 | − - name: Set up Python | |
| 15 | − uses: actions/setup-python@v5 | |
| 16 | − with: | |
| 17 | − python-version: "3.12" | |
| 18 | − | |
| 19 | − - name: Update README | |
| 20 | − run: python update_readme.py | |
| 21 | − | |
| 22 | − - name: Commit and push if changed | |
| 23 | − run: |- | |
| 24 | − git diff --quiet && exit 0 | |
| 25 | − git config user.name "Automated" | |
| 26 | − git config user.email "actions@users.noreply.github.com" | |
| 27 | − git add -A | |
| 28 | − git commit -m "Update README" | |
| 29 | − git push | |