Needs User Input Automation #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: Needs User Input Automation | |
| on: | |
| schedule: | |
| - cron: '0 8 * * 1' # runs every Monday at 8:00 UTC | |
| workflow_dispatch: | |
| jobs: | |
| needs-user-input: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install dependencies | |
| run: pip install PyGithub | |
| - name: Run needs-user-input script | |
| env: | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| run: python .github/scripts/pending_user_response.py |