forked from allenai/allennlp
-
Notifications
You must be signed in to change notification settings - Fork 0
54 lines (45 loc) · 1.17 KB
/
issues.yml
File metadata and controls
54 lines (45 loc) · 1.17 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Issues Bot
on:
# Uncomment this PR trigger for testing.
# pull_request:
# branches:
# - main
schedule:
- cron: '5 16 * * 1,2,3,4,5' # runs at 16:05 UTC Monday - Friday
jobs:
close_stale_issues:
name: Close Stale Issues
if: github.repository == 'allenai/allennlp'
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install requirements
run: |
pip install PyGithub
- name: Close stale issues
run: |
python scripts/close_stale_issues.py
ping_assignees:
name: Ping Inactive Assignees
if: github.repository == 'allenai/allennlp'
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
steps:
- uses: actions/checkout@v3
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: 3.7
- name: Install requirements
run: |
pip install PyGithub
- name: Ping inactive assignees
run: |
python scripts/ping_issue_assignees.py