Update accepted-paper trends #1
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Update accepted-paper trends | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: "20 3 * * 1" | |
| permissions: | |
| contents: write | |
| jobs: | |
| update-data: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-node@v5 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| - run: npm ci | |
| - run: npm run data:update | |
| - run: npm run data:verify | |
| - name: Commit refreshed data | |
| run: | | |
| git config user.name "github-actions[bot]" | |
| git config user.email "41898282+github-actions[bot]@users.noreply.github.com" | |
| git add data public/data | |
| if ! git diff --cached --quiet; then | |
| git commit -m "chore: update paper trend data" | |
| git push | |
| fi |