Skip to content

Commit 6e40cbb

Browse files
authored
Merge pull request #4 from billilge/init/#3-github-actions
[Init/#3] Github Action 세팅
2 parents d19ae3e + 5f34adb commit 6e40cbb

File tree

3 files changed

+71
-0
lines changed

3 files changed

+71
-0
lines changed

.github/labeler.yml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# labeler "full" schema
2+
3+
# enable labeler on issues, prs, or both.
4+
enable:
5+
issues: true
6+
prs: true
7+
8+
# Labels is an object where:
9+
# - keys are labels
10+
# - values are objects of { include: [ pattern ], exclude: [ pattern ] }
11+
# - pattern must be a valid regex, and is applied globally to
12+
# title + description of issues and/or prs (see enabled config above)
13+
# - 'include' patterns will associate a label if any of these patterns match
14+
# - 'exclude' patterns will ignore this label if any of these patterns match
15+
labels:
16+
":bug: BUG":
17+
include: ['\bBug\b', '\bbug\b', '\bFix\b', '\bfix\b']
18+
":sparkles: FEAT":
19+
include: ['\bFeat\b', '\bfeat\b', '\bFeature\b', '\bfeature\b']
20+
":memo: DOCS":
21+
include: ['\bDocs\b', '\bdocs\b', '\bREADME\b']
22+
":package: CHORE":
23+
include: ['\bChore\b', '\bchore\b']
24+
":lipstick: DESIGN":
25+
include: ['\bDesign\b', '\bdesign\b']
26+
":rocket: API":
27+
include: ['\bAPI\b', '\bapi\b']
28+
":recycle: REFACTOR":
29+
include: ['\bRefactor\b', '\brefactor\b']
30+
":wrench: INIT":
31+
include: ['\bINIT\b', '\bInit\b', '\binit\b']
32+
":twisted_rightwards_arrows: MERGE":
33+
include: ['\bMERGE\b', '\bMerge\b', '\bmerge\b']
34+
":ambulance: !HOTFIX":
35+
include: ['\bHOTFIX\b', '\bhotfix\b']
36+
":bookmark: RELEASE":
37+
include: ['\bRelease\b', '\brelease\b']

.github/workflows/autoLabel.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Auto Labeler
2+
on:
3+
issues:
4+
types: [opened]
5+
pull_request_target:
6+
types: [opened]
7+
8+
jobs:
9+
labeler:
10+
runs-on: ubuntu-latest
11+
permissions:
12+
contents: read
13+
issues: write
14+
pull-requests: write
15+
steps:
16+
- name: Check Labels
17+
id: labeler
18+
uses: jimschubert/labeler-action@v2
19+
with:
20+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
name: Review Assign
2+
3+
on:
4+
pull_request:
5+
types: [opened, ready_for_review]
6+
7+
jobs:
8+
assign:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: hkusu/review-assign-action@v1
12+
with:
13+
assignees: ${{ github.actor }}
14+
reviewers: sinji2102, hyeonjin6530, daun-up

0 commit comments

Comments
 (0)