-
-
Notifications
You must be signed in to change notification settings - Fork 43
30 lines (27 loc) · 1009 Bytes
/
issue-handle.yml
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
name: Issue Handle
on:
issues:
types: [opened, closed]
jobs:
issue-open-waiting-for-confirm:
name: Issue Open Waiting Confirm
if: github.event.action == 'opened' && !contains(fromJSON('["ForteScarlet", "ForliyScarlet"]'), github.event.sender.login)
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/simple-issue-labeler
- name: Issue Labeler For Waiting Confirm
uses: andymckay/labeler@1.0.4
with:
add-labels: "等待确认"
repo-token: ${{ secrets.FORLIY_ACCESS_TOKEN }}
issue-close-remove-waiting-label:
name: Issue Close remove Waiting Label
if: github.event.action == 'closed'
runs-on: ubuntu-latest
steps:
# https://github.com/marketplace/actions/simple-issue-labeler
- name: Issue Labeler For Waiting Confirm
uses: andymckay/labeler@1.0.4
with:
remove-labels: "等待确认, 等待反馈"
repo-token: ${{ secrets.FORLIY_ACCESS_TOKEN }}