-
Notifications
You must be signed in to change notification settings - Fork 8
35 lines (34 loc) ยท 1.06 KB
/
assign-reviewer.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
31
32
33
34
35
name: Assign Reviewer By Label
on:
pull_request:
types:
- unlabeled
- labeled
jobs:
assign-reviewer:
runs-on: ubuntu-latest
steps:
- name: all-label
id: all-label
uses: buildsville/assign-reviewer-by-label@v1
with:
token: "${{ secrets.PR_LABEL_TOKEN }}"
labels: '[ "ALL" ]'
reviewers: '["BGuga", "seokjin8678", "xxeol2", "carsago", "SeongHoonC", "EmilyCh0", "re4rk"]'
remove-when-no-label: "true"
- name: an-label
id: an-label
uses: buildsville/assign-reviewer-by-label@v1
with:
token: "${{ secrets.PR_LABEL_TOKEN }}"
labels: '[ "AN" ]'
reviewers: '["SeongHoonC", "EmilyCh0", "re4rk"]'
remove-when-no-label: "true"
- name: be-label
id: be-label
uses: buildsville/assign-reviewer-by-label@v1
with:
token: "${{ secrets.PR_LABEL_TOKEN }}"
labels: '[ "BE" ]'
reviewers: '["BGuga", "seokjin8678", "xxeol2", "carsago"]'
remove-when-no-label: "true"