-
-
Notifications
You must be signed in to change notification settings - Fork 40
39 lines (34 loc) · 972 Bytes
/
sponsors.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
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