refactor: ์ํฐํฐ๋ฅผ ๊ฐ์ ํ๋ค. #8
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: Type labeler | |
on: | |
pull_request: | |
types: | |
- opened | |
jobs: | |
add_label: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: add โจ Feat label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'feat:') }} | |
with: | |
labels: โจ Feat | |
- name: add ๐ Bug label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'fix:') }} | |
with: | |
labels: ๐ Bug | |
- name: add ๐จ Refactor label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'refactor:') }} | |
with: | |
labels: ๐จ Refactor | |
- name: add ๐จ Style label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'style:') }} | |
with: | |
labels: ๐จ Style | |
- name: add โ Setting label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.pull_request.title, 'chore:') }} | |
with: | |
labels: โ Setting | |
- 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 |