File tree 2 files changed +39
-0
lines changed
2 files changed +39
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Remove needs-reply label
2
+
3
+ on :
4
+ issue_comment :
5
+ types :
6
+ - created
7
+
8
+ jobs :
9
+ build :
10
+ runs-on : ubuntu-latest
11
+ if : |
12
+ github.event.comment.author_association != 'OWNER' &&
13
+ github.event.comment.author_association != 'COLLABORATOR'
14
+ steps :
15
+ - name : Remove needs-reply label
16
+
17
+ continue-on-error : true
18
+ with :
19
+ route : DELETE /repos/:repository/issues/:issue/labels/:label
20
+ repository : ${{ github.repository }}
21
+ issue : ${{ github.event.issue.number }}
22
+ label : needs-reply
23
+ env :
24
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change
1
+ name : Close old issues that need reply
2
+
3
+ on :
4
+ schedule :
5
+ - cron : " 0 0 * * *"
6
+
7
+ jobs :
8
+ build :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Close old issues that need reply
12
+ uses : dwieeb/needs-reply@v2
13
+ with :
14
+ repo-token : ${{ secrets.GITHUB_TOKEN }}
15
+ issue-label : needs-reply
You can’t perform that action at this time.
0 commit comments