Update README #40
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update README | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' # jeden Tag um Mitternacht | |
| workflow_dispatch: # auch manuell auslösbar | |
| permissions: | |
| contents: write | |
| jobs: | |
| update: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| with: | |
| fetch-depth: 0 # <-- add this | |
| - uses: actions/setup-python@v4 | |
| with: | |
| python-version: '3.x' | |
| - run: pip install requests | |
| - run: python update_readme.py | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: stefanzweifel/git-auto-commit-action@v4 | |
| with: | |
| commit_message: "Auto-update README" | |
| pull: --rebase --autostash # <-- add this |