Generate Sponsors List #4
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: Generate Sponsors List | |
| on: | |
| workflow_dispatch: | |
| jobs: | |
| generate-sponsors: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Generate Sponsors | |
| uses: JamesIves/github-sponsors-readme-action@v1 | |
| with: | |
| token: ${{ secrets.SPONSORS_GENERATOR_PAT }} | |
| active-only: false | |
| file: "README.md" | |
| template: '<a href="https://github.com/{{{ login }}}"><img src="{{{ avatarUrl }}}" width="64px" alt="User avatar: {{{ login }}}" /></a> ' | |
| - name: Create Pull Request | |
| uses: peter-evans/create-pull-request@v7 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| commit-message: | | |
| docs: regenerate readme sponsors list | |
| committer: GitHub <noreply@github.com> | |
| author: GitHub <noreply@github.com> | |
| branch: docs/update-readme | |
| title: | | |
| docs: regenerate readme sponsors list | |
| labels: bot |