Update Citing Papers #10
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 Citing Papers | |
| on: | |
| schedule: | |
| # Runs every Monday at 6:00 UTC | |
| - cron: "0 6 * * 1" | |
| workflow_dispatch: # Allow manual trigger | |
| permissions: | |
| contents: write | |
| jobs: | |
| update-citations: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Fetch citing papers and update README | |
| run: python scripts/update_citations.py | |
| - name: Commit and push if changed | |
| run: | | |
| git diff --quiet README.md && exit 0 | |
| git config user.name "github-actions[bot]" | |
| git config user.email "github-actions[bot]@users.noreply.github.com" | |
| git add README.md | |
| git commit -m "docs: update citing papers list" | |
| git push |