Skip to content

Commit 6e7accb

Browse files
authored
RUST-1158/Close stale github issues (#582)
1 parent a0f9bc3 commit 6e7accb

File tree

3 files changed

+29
-4
lines changed

3 files changed

+29
-4
lines changed

.github/workflows/close_stale_issues.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1+
---
2+
13
name: 'Close stale issues'
24
on:
35
schedule:
46
- cron: '30 1 * * *'
57
permissions:
68
issues: write
7-
89
jobs:
910
stale:
1011
runs-on: ubuntu-latest
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)