refactor: TokenInfo를 record로 변경하고 token-value 부분을 받도록 수정한다 #852
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: | |
issues: | |
jobs: | |
add_label: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
pull-requests: write | |
steps: | |
- name: checkout | |
uses: actions/checkout@v3 | |
- name: add ✨ feature label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.issues.title, '[feat]') || startsWith(github.event.pull_request.title, '[feat]') }} | |
with: | |
labels: ✨ feature | |
- name: add 🐛 bug-fix label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.issues.title, '[fix]') || startsWith(github.event.pull_request.title, '[fix]') }} | |
with: | |
labels: 🐛 bug-fix | |
- name: add ♻️ refactor label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.issues.title, '[refactor]') || 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.issues.title, '[style]') || startsWith(github.event.pull_request.title, '[style]') }} | |
with: | |
labels: 🎨 style | |
- name: add 🍻 chore label | |
uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ startsWith(github.event.issues.title, '[chore]') || 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.issues.title, '[test]') || 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.issues.title, '[docs]') || startsWith(github.event.pull_request.title, '[docs]') }} | |
with: | |
labels: 📝 docs | |