Skip to content

ci: update github token #3

ci: update github token

ci: update github token #3

Workflow file for this run

name: sponsors
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
push:
branches: [ main ]
jobs:
update-sponsors:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: pnpm
- run: pnpm install
- run: pnpm run build
env:
SPONSORKIT_AFDIAN_USER_ID: ${{ secrets.SPONSORKIT_AFDIAN_USER_ID }}
SPONSORKIT_AFDIAN_TOKEN: ${{ secrets.SPONSORKIT_AFDIAN_TOKEN }}
- uses: EndBug/add-and-commit@v9
with:
message: "chore: update sponsors"
env:
GITHUB_TOKEN: ${{ secrets.MY_GITHUB_TOKEN }}