π Sync README sponsors #8
This file contains 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: π Sync README sponsors | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: 00 12 1,15 * * | |
permissions: | |
contents: write | |
jobs: | |
sync-readme-sponsors: | |
name: π Sync README sponsors | |
runs-on: ubuntu-latest | |
steps: | |
- name: β»οΈ Checkout | |
uses: actions/checkout@v3 | |
with: | |
ref: main | |
- name: π Sync README sponsors | |
uses: JamesIves/github-sponsors-readme-action@v1.5.0 | |
with: | |
token: ${{ secrets.PAT }} | |
file: README.md | |
template: <a href="https://github.com/{{ login }}"><img src="https://github.com/{{ login }}.png" width="50px" alt="{{ name }}" title="{{ name }}"/></a> | |
active-only: false | |
- name: πΎ Commit README | |
uses: EndBug/add-and-commit@v9.1.3 | |
with: | |
default_author: github_actions | |
message: "Automatically synchronize README sponsors" |