Manage issues and pull requests in projects #16060
This file contains 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: Manage issues and pull requests in projects | |
on: | |
schedule: | |
- cron: "45 * * * *" # Hourly at 45 minutes past the hour (**:45) | |
workflow_dispatch: | |
jobs: | |
manage_issues_and_pull_requests: | |
name: Manage issues and pull requests | |
runs-on: ubuntu-latest | |
steps: | |
# https://github.com/actions/setup-python | |
- name: Install Python 3.11 | |
uses: actions/setup-python@v5 | |
with: | |
python-version: '3.11' | |
- name: Install pipenv | |
run: | | |
pip install --upgrade pip | |
pip install pipenv | |
# https://github.com/actions/checkout | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Install Python dependencies | |
run: pipenv sync --system | |
- name: 'run script to move closed issues to Active Sprint: Done' | |
run: ./move_closed_issues.py | |
env: | |
ADMIN_GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }} | |
- name: run script to track open untriaged issues and pull requests | |
run: ./track_issues_and_pull_requests.py | |
env: | |
ADMIN_GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }} |