-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
16 additions
and
15 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,23 @@ | ||
# This workflow will triage pull requests and apply a label based on the | ||
# paths that are modified in the pull request. | ||
# | ||
# To use this workflow, you will need to set up a .github/labeler.yml | ||
# file with configuration. For more information, see: | ||
# https://github.com/actions/labeler | ||
|
||
name: Labeler | ||
on: [pull_request_target] | ||
# workflow 의 이름 | ||
name: PR labeler | ||
|
||
# 트리거될 이벤트 설정 | ||
on: | ||
pull_request: | ||
types: [opened] | ||
|
||
# 트리거되었을 때 실행될 job 작성 | ||
jobs: | ||
label: | ||
|
||
labeler: | ||
# runner 설정 | ||
runs-on: ubuntu-latest | ||
# 리파지토리에 대한 권한 설정 | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
steps: | ||
- uses: actions/labeler@v4 | ||
with: | ||
repo-token: "${{ secrets.GITHUB_TOKEN }}" | ||
- name: Check Labels | ||
id: labeler | ||
uses: jimschubert/labeler-action@v1 | ||
with: | ||
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}} |