[ENV][Docs] : 이슈 템플릿 업데이트 #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# PR 이벤트 발생 시(opened), 라벨이 붙는 이벤트 발생 시(labeled) 자동으로 팀원 중 Reviewer 2명 지정 | |
name: 'Auto Assign Reviewers' | |
on: | |
pull_request: | |
types: [ opened, labeled ] | |
jobs: | |
assign_reviewers: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 'Check for label' | |
uses: actions/github-script@v6 | |
id: label_check | |
with: | |
script: | | |
const labels = context.payload.pull_request.labels; | |
return labels.some(label => label.name === '확인 요청'); | |
- name: 'Assign Reviewers' | |
if: steps.label_check.outputs.result == 'true' | |
uses: kentaro-m/[email protected] | |
with: | |
repo-token: '${{ secrets.GITHUB_TOKEN }}' | |
configuration-path: '.github/auto_assign_config.yml' # 이부분은 차후 생성하겠습니다 |