Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
36 changes: 36 additions & 0 deletions .github/configs/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Set to true to add reviewers to pull requests
addReviewers: true

# Set to true to add assignees to pull requests
addAssignees: author

# A list of reviewers to be added to pull requests (GitHub user name)
reviewers:
- wkdtnqls0506
- Seojunhwan

# A number of reviewers added to the pull request
numberOfReviewers: 0

# A list of assignees, overrides reviewers if set
# assignees:
# - assigneeA

# Draft PR에는 리뷰어를 자동 할당하지 않음
runOnDraft: false

# A number of assignees to add to the pull request
# Set to 0 to add all of the assignees.
# Uses numberOfReviewers if unset.
# numberOfAssignees: 2

# A list of keywords to be skipped the process that add reviewers if pull requests include it
skipKeywords:
- wip
- WIP
- draft
- DRAFT
- temp
- 임시
- 테스트
- test
54 changes: 54 additions & 0 deletions .github/configs/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# 🐛 bug - 버그 수정 관련
🐛 bug:
- head-branch: ['^fix/', 'fix/', 'bugfix/', 'hotfix/']
- title: ['^fix:', '^fix\(', '^🐛']

# ✨ feature - 새로운 기능
✨ feature:
- head-branch: ['^feat/', '^feature/', 'feat/']
- title: ['^feat:', '^feat\(', '^✨']

# 📚 docs - 문서 변경
📚 docs:
- head-branch: ['^docs/', 'docs/']
- title: ['^docs:', '^docs\(', '^📚']

# 💄 style - 코드 스타일 변경
💄 style:
- head-branch: ['^style/', 'style/']
- title: ['^style:', '^style\(', '^💄']

# ♻️ refactor - 리팩토링
♻️ refactor:
- head-branch: ['^refactor/', 'refactor/']
- title: ['^refactor:', '^refactor\(', '^♻️']

# 🧪 test - 테스트 추가/수정
🧪 test:
- head-branch: ['^test/', 'test/']
- title: ['^test:', '^test\(', '^🧪']

# 🔧 chore - 빌드 프로세스, 도구 설정 등
🔧 chore:
- head-branch: ['^chore/', 'chore/']
- title: ['^chore:', '^chore\(', '^🔧']

# ⚡ perf - 성능 개선
⚡ perf:
- head-branch: ['^perf/', 'perf/']
- title: ['^perf:', '^perf\(', '^⚡']

# 👷 ci - CI 설정 변경
👷 ci:
- head-branch: ['^ci/', 'ci/']
- title: ['^ci:', '^ci\(', '^👷']

# 📦 build - 빌드 시스템 변경
📦 build:
- head-branch: ['^build/', 'build/']
- title: ['^build:', '^build\(', '^📦']

# ⏪ revert - 이전 커밋 되돌리기
⏪ revert:
- head-branch: ['^revert/', 'revert/']
- title: ['^revert:', '^revert\(', '^⏪', '^Revert']
13 changes: 13 additions & 0 deletions .github/workflows/auto-assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: 'Auto Assign'
on:
pull_request:
types: [opened, ready_for_review]

jobs:
add-reviews:
runs-on: ubuntu-latest
steps:
- uses: kentaro-m/auto-assign-action@v1.2.5
with:
configuration-path: '.github/configs/auto_assign.yml'
# ref : https://github.com/marketplace/actions/auto-assign-action
18 changes: 18 additions & 0 deletions .github/workflows/labeler.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
name: 'Pull Request Labeler'

on:
- pull_request_target

jobs:
labeler:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Apply labels based on PR content
uses: actions/labeler@v5
with:
repo-token: '${{ secrets.GITHUB_TOKEN }}'
configuration-path: .github/labeler.yml
sync-labels: true