Skip to content

Update Sponsors

Update Sponsors #187

name: Update Sponsors
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.12'
- name: Get sponsors
env:
SPONSOR_TOKEN: ${{ secrets.SPONSOR_TOKEN }}
run: |
python update_sponsors.py "$SPONSOR_TOKEN"
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
default_author: github_actions
message: 'Update Sponsors'