Skip to content

Commit

Permalink
[ALL] FEAT: PR요청시 label에 따른 리뷰어 자동 지정 기능 구현 (#21) (#22)
Browse files Browse the repository at this point in the history
Co-authored-by: seokjin8678 <[email protected]>
  • Loading branch information
xxeol2 and seokjin8678 authored Jul 10, 2023
1 parent 47ceab6 commit 36ce83d
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/assign-reviewer.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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"

0 comments on commit 36ce83d

Please sign in to comment.