| 1 | name: Update Sponsors README |
| 2 | on: |
| 3 | schedule: |
| 4 | - cron: '42 3 */2 * *' |
| 5 | |
| 6 | jobs: |
| 7 | update: |
| 8 | runs-on: ubuntu-latest |
| 9 | steps: |
| 10 | - uses: actions/checkout@v2 |
| 11 | |
| 12 | - uses: JamesIves/[email protected] |
| 13 | with: |
| 14 | token: ${{ secrets.SPONSORS_PAT }} |
| 15 | minimum: 1000 |
| 16 | file: 'README.md' |
| 17 | template: >- |
| 18 | <a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" width="60px" alt="{{{ login }}}" /></a> |
| 19 | |
| 20 | - uses: stefanzweifel/git-auto-commit-action@v4 |
| 21 | with: |
| 22 | commit_message: Update sponsors list in README |