Skip to content

Scheduler

Scheduler #463

Workflow file for this run

name: Scheduler
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
branches:
- main
permissions:
contents: write
jobs:
update-sponsors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18.x
cache: pnpm
- run: pnpm i --frozen-lockfile
- name: Update sponsors
run: npm run build
env:
SPONSORKIT_GITHUB_TOKEN: ${{ secrets.SPONSORS_TOKEN }}
HIDE_TIER_USERS: ${{ vars.HIDE_TIER_USERS }}
- name: Commit
uses: EndBug/add-and-commit@v9
with:
message: "chore: update sponsors.svg"
add: "dist/sponsors.*"
default_author: github_actions