Pending tasks in issues #103
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: Pending tasks in issues | |
| on: | |
| workflow_dispatch: | |
| schedule: | |
| - cron: 0 8 * * * | |
| permissions: | |
| contents: read | |
| issues: write | |
| jobs: | |
| pending-tasks: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout del repositorio | |
| uses: actions/checkout@v6 | |
| with: | |
| persist-credentials: false | |
| - name: Configurar Python | |
| uses: actions/setup-python@v2 | |
| with: | |
| python-version: 3.x # Especifica la versión de Python que necesites | |
| - name: Instalar dependencias | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install PyGithub | |
| - name: Ejecutar script de búsqueda y actualizar issue | |
| env: | |
| TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| working-directory: .github/issue-scripts | |
| run: python3 pending-tasks.py |