Skip to content

Sponsors

Sponsors #355

Workflow file for this run

name: Sponsors
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
if: github.repository == 'capawesome-team/capacitor-firebase'
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Update `Sponsors` section (Bronze)
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.PAT }}
file: 'README.md'
organization: true
minimum: 10000
maximum: 24900
marker: 'bronze-sponsors'
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" alt="{{{ login }}}" width="50px"></a>'
- name: Update `Sponsors` section (Silver)
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.PAT }}
file: 'README.md'
organization: true
minimum: 25000
maximum: 49900
marker: 'silver-sponsors'
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" alt="{{{ login }}}" width="75px"></a>'
- name: Update `Sponsors` section (Gold)
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.PAT }}
file: 'README.md'
organization: true
minimum: 50000
marker: 'gold-sponsors'
template: '<a href="https://github.com/{{{ login }}}"><img src="https://github.com/{{{ login }}}.png" alt="{{{ login }}}" width="100px"></a>'
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: 'docs: update `Sponsors` section'
commit_author: 'github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>'
file_pattern: README.md