feat: ๋งค์ฅ ๋ชฉ๋ก ์กฐํ API ๊ตฌํ #4
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
name: PR labeler | |
on: | |
pull_request: | |
types: | |
- opened | |
jobs: | |
add_label: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: add โจ feat label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'feat:') }} | |
with: | |
labels: โจ feat | |
- name: add ๐ fix label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'fix:') }} | |
with: | |
labels: ๐ fix | |
- name: add ๐จ refactor label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'refactor:') }} | |
with: | |
labels: ๐จ refactor | |
- name: add โ๏ธ chore label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'chore:') }} | |
with: | |
labels: โ๏ธ chore | |
- name: add ๐งช๏ธ test label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'test:') }} | |
with: | |
labels: ๐งช๏ธ test | |
- name: add ๐ docs label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'docs:') }} | |
with: | |
labels: ๐ docs |