Check Erdos problem statuses #762
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: Check Erdos problem statuses | |
| on: | |
| schedule: | |
| - cron: '37 * * * *' # once an hour, 37 min past the hour | |
| workflow_dispatch: # Allow manual trigger | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| if: github.repository == 'google-deepmind/formal-conjectures' | |
| permissions: | |
| issues: write | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: pip install pyyaml | |
| - name: Check statuses and create issues | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: python scripts/check_erdos_status.py --create-issues || true |