| 1 |
name: Update sponsors |
| 2 |
|
| 3 |
on: |
| 4 |
schedule: |
| 5 |
- cron: '0 0 * * *' |
| 6 |
workflow_dispatch: |
| 7 |
|
| 8 |
permissions: |
| 9 |
contents: write |
| 10 |
pull-requests: write |
| 11 |
|
| 12 |
jobs: |
| 13 |
update-readme: |
| 14 |
runs-on: ubuntu-latest |
| 15 |
steps: |
| 16 |
- name: Checkout repository |
| 17 |
uses: actions/checkout@v4 |
| 18 |
- name: Update README and create PR |
| 19 |
uses: pawamoy/readme-insert@main |
| 20 |
with: |
| 21 |
markup-url: https://pawamoy.github.io/sponsors.txt |
| 22 |
start-marker: '<!-- sponsors-start -->' |
| 23 |
end-marker: '<!-- sponsors-end -->' |
| 24 |
commit-message: 'chore: Update sponsors section in README' |
| 25 |
pr-title: 'chore: Update sponsors section in README' |
| 26 |
pr-body: 'This PR updates the sponsors section in the README file.' |