-
Notifications
You must be signed in to change notification settings - Fork 18
35 lines (28 loc) · 922 Bytes
/
manage_issues.yml
File metadata and controls
35 lines (28 loc) · 922 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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 track open and untracked issues and pull requests
run: ./manage_new_issues_and_pull_requests.py
env:
ADMIN_GITHUB_TOKEN: ${{ secrets.ADMIN_GITHUB_TOKEN }}