Skip to content

Generate Sponsors README #21

Generate Sponsors README

Generate Sponsors README #21

Workflow file for this run

name: Generate Sponsors README
on:
workflow_dispatch:
schedule:
- cron: 0 0 * * 0
permissions:
contents: write
pull-requests: write
jobs:
deploy:
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_TOKEN }}
marker: rest
maximum: 24999
file: 'README.md'
- name: Generate Sponsors 💖
uses: JamesIves/github-sponsors-readme-action@v1
with:
token: ${{ secrets.SPONSORS_TOKEN }}
marker: gold
minimum: 25000
file: 'README.md'
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: "docs: update sponsors"
title: "docs: update sponsors"
branch: create-pull-request/update-sponsors