Update README Badges #39
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 Badges | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: '17 3 * * *' | |
| jobs: | |
| update-readme-badges: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write | |
| steps: | |
| - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 | |
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | |
| with: | |
| node-version: 20 | |
| - name: Generate README badges | |
| run: node scripts/update-readme-badges.mjs | |
| env: | |
| GITHUB_TOKEN: ${{ github.token }} | |
| - name: Commit changes | |
| uses: stefanzweifel/git-auto-commit-action@b863ae1933cb653a53c021fe36dbb774e1fb9403 # v5 | |
| with: | |
| commit_message: 'chore: update readme badges' | |
| file_pattern: 'badges/*.svg docs/public/badges/*.svg' |