Skip to content

Commit 95fbc0c

Browse files
authored
Triage label (#346)
1 parent eace064 commit 95fbc0c

File tree

3 files changed

+47
-3
lines changed

3 files changed

+47
-3
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
3+
name: 'Close stale issues'
4+
on:
5+
schedule:
6+
- cron: '30 1 * * *'
7+
permissions:
8+
issues: write
9+
jobs:
10+
stale:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/stale@v4
14+
with:
15+
stale-issue-message: 'There has not been any recent activity on this ticket, so we are marking it as stale. If we do not hear anything further from you, this issue will be automatically closed in one week.'
16+
days-before-issue-stale: 7
17+
days-before-pr-stale: -1
18+
days-before-close: 7
19+
close-issue-message: 'There has not been any recent activity on this ticket, so we are closing it. Thanks for reaching out and please feel free to file a new issue if you have further questions.'
20+
only-issue-labels: 'waiting-for-reporter'
Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,22 @@
1-
name: Issue assignment
1+
---
22

3+
name: Issue assignment
34
on:
45
issues:
56
types: [opened]
6-
77
jobs:
88
auto-assign:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: 'Auto-assign issue'
12-
uses: pozil/auto-assign-issue@v1.1.0
12+
uses: pozil/auto-assign-issue@v1
1313
with:
1414
assignees: patrickfreed,abr-egn,isabelatkinson
1515
numOfAssignee: 1
16+
add-labels:
17+
runs-on: ubuntu-latest
18+
steps:
19+
- name: initial labeling
20+
uses: andymckay/labeler@master
21+
with:
22+
add-labels: "triage"

.github/workflows/remove_labels.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
---
2+
3+
name: Remove Labels
4+
on:
5+
issue_comment:
6+
types: [created, edited]
7+
jobs:
8+
remove-labels:
9+
if: ${{ github.actor != 'bajanam' && github.actor != 'patrickfreed'
10+
&& github.actor != 'abr-egn' && github.actor != 'isabelatkinson'
11+
&& github.actor !='kmahar'}}
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: initial labeling
15+
uses: andymckay/labeler@master
16+
with:
17+
remove-labels: "waiting-for-reporter"

0 commit comments

Comments
 (0)