name: update on: schedule: - cron: '17 3 * * *' # daily 03:17 UTC workflow_dispatch: permissions: contents: write jobs: regenerate: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: 22 - run: node scripts/generate.mjs - name: Commit if changed run: | git config user.name 'dsh-ai-bot' git config user.email 'contact@dsh-ai.org' git add -A git diff --cached --quiet && echo 'no changes' && exit 0 git commit -m "chore: daily rankings update $(date -u +%F)" git push