Initial commit: HumanStudy-Bench community contribution hub #1
Workflow file for this run
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: Sync studies index | |
| on: | |
| push: | |
| branches: [dev, main] | |
| paths: | |
| - "studies/**" | |
| - "scripts/build_studies_index.py" | |
| jobs: | |
| rebuild: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Build studies index | |
| run: python scripts/build_studies_index.py | |
| - name: Commit updated index | |
| uses: stefanzweifel/git-auto-commit-action@v5 | |
| with: | |
| commit_message: "chore: rebuild studies_index.json" | |
| file_pattern: co_website/data/studies_index.json |