diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 00000000..ca6dd3fa --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,25 @@ +## ๐Ÿ“ข ๊ธฐ๋Šฅ ์„ค๋ช… + +ํ•„์š”์‹œ ์‹คํ–‰๊ฒฐ๊ณผ ์Šคํฌ๋ฆฐ์ƒท ์ฒจ๋ถ€ +
+ +## ์—ฐ๊ฒฐ๋œ issue + +์—ฐ๊ฒฐ๋œ issue๋ฅผ ์ž๋™์œผ๋กœ ๋‹ซ๊ธฐ ์œ„ํ•ด ์•„๋ž˜ {์ด์Šˆ๋„˜๋ฒ„}๋ฅผ ์ž…๋ ฅํ•ด์ฃผ์„ธ์š”.
+close #{์ด์Šˆ๋„˜๋ฒ„} +
+
+ +## ๐Ÿฉท Approve ํ•˜๊ธฐ ์ „ ํ™•์ธํ•ด์ฃผ์„ธ์š”! + +- [ ] ๋ฆฌ๋ทฐ์–ด๊ฐ€ ํ™•์ธํ•ด์คฌ์œผ๋ฉด ํ•˜๋Š” ์‚ฌํ•ญ ์ ์–ด์ฃผ์„ธ์š”. +- [ ] + +
+ +## โœ… ์ฒดํฌ๋ฆฌ์ŠคํŠธ + +- [ ] PR ์ œ๋ชฉ ๊ทœ์น™ ์ž˜ ์ง€์ผฐ๋Š”๊ฐ€? +- [ ] ์ถ”๊ฐ€/์ˆ˜์ •์‚ฌํ•ญ์„ ์„ค๋ช…ํ•˜์˜€๋Š”๊ฐ€? +- [ ] ์ด์Šˆ๋„˜๋ฒ„๋ฅผ ์ ์—ˆ๋Š”๊ฐ€? +- [ ] Approve ํ•˜๊ธฐ ์ „ ํ™•์ธ ์‚ฌํ•ญ ์ฒดํฌํ–ˆ๋Š”๊ฐ€? diff --git a/.github/workflows/autoIssue.yml b/.github/workflows/autoIssue.yml new file mode 100644 index 00000000..96512a59 --- /dev/null +++ b/.github/workflows/autoIssue.yml @@ -0,0 +1,57 @@ +# ์›Œํฌํ”Œ๋กœ์šฐ ์ด๋ฆ„ +name: ์ด์Šˆ ์ž๋™ํ™” + +# ์‹คํ–‰ ์กฐ๊ฑด: ์ด์Šˆ๊ฐ€ ์—ด๋ ธ์„ ๋•Œ +on: + issues: + types: [ opened ] + +# ์‹คํ–‰ํ•  ์ž‘์—… +jobs: + automate-issue: + runs-on: ubuntu-latest + permissions: + issues: write + contents: read + + steps: + # ์ด์Šˆ ์ œ๋ชฉ์— ๋”ฐ๋ผ Label ์ž๋™ ํ• ๋‹น (์˜ˆ์‹œ) + - name: design ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.issue.title, 'design') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: design + + - name: feat ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.issue.title, 'feat') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: feat + + - name: fix ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.issue.title, 'fix') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: fix + + - name: refactor ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.issue.title, 'refactor') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: refactor + + - name: chore ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.issue.title, 'chore') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: chore + + + # GitHub ํ”„๋กœ์ ํŠธ์˜ 'Backlog' ์ปฌ๋Ÿผ์— ์ž๋™ ์ถ”๊ฐ€ + - name : Github ํ”„๋กœ์ ํŠธ์— ์ถ”๊ฐ€ + uses: jinhokim98/project-flow-add-issue-to-project@v1 + with: + github_token: ${{ secrets.PROJECT_ACCESS_TOKEN }} + project_owner: prgrms-web-devcourse-final-project + project_number: 145 + target_column: 'Backlog' diff --git a/.github/workflows/autoPR.yml b/.github/workflows/autoPR.yml new file mode 100644 index 00000000..dd3eb76a --- /dev/null +++ b/.github/workflows/autoPR.yml @@ -0,0 +1,73 @@ +# ์›Œํฌํ”Œ๋กœ์šฐ ์ด๋ฆ„ +name: PR ์ž๋™ํ™” + +# ์‹คํ–‰ ์กฐ๊ฑด: main, dev/** ๋ธŒ๋žœ์น˜๋กœ PR์ด ์—ด๋ ธ์„ ๋•Œ +on: + pull_request: + branches: [ main, dev, 'dev/**' ] + types: [ opened ] + +# ์‹คํ–‰ํ•  ์ž‘์—… +jobs: + automate-pr: + runs-on: ubuntu-latest + permissions: + pull-requests: write + issues: write + contents: read + + steps: + # PR ์ž‘์„ฑ์ž๋ฅผ Assignee๋กœ ์ž๋™ ํ• ๋‹น + - name: PR ์ž‘์„ฑ์ž๋ฅผ ๋‹ด๋‹น์ž๋กœ ํ• ๋‹น + uses: actions-ecosystem/action-add-assignees@v1 + with: + github_token: ${{ secrets.PROJECT_ACCESS_TOKEN }} + assignees: ${{ github.event.pull_request.user.login }} + + + # PR ์ œ๋ชฉ์— ๋”ฐ๋ผ Label ์ž๋™ ํ• ๋‹น (์˜ˆ์‹œ) + # - name: ์ œ๋ชฉ์— 'feat'๊ฐ€ ์žˆ์œผ๋ฉด 'feature' ๋ผ๋ฒจ ์ถ”๊ฐ€ + # if: contains(github.event.pull_request.title, 'feat') + # uses: actions-ecosystem/action-add-labels@v1 + # with: + # labels: feature + + + # PR ์ œ๋ชฉ์— ๋”ฐ๋ผ Label ์ž๋™ ํ• ๋‹น + - name: design ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.pull_request.title, 'design') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: design + + - name: feat ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.pull_request.title, 'feat') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: feat + + - name: fix ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.pull_request.title, 'fix') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: fix + + - name: refactor ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.pull_request.title, 'refactor') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: refactor + + - name: chore ๋ผ๋ฒจ ํ• ๋‹น + if: contains(github.event.pull_request.title, 'chore') + uses: actions-ecosystem/action-add-labels@v1 + with: + labels: chore + + + # '์—ฐ์Šต์šฉ ํ”„๋กœ์ ํŠธ'์— ๋“ฑ๋ก + - name: GitHub ํ”„๋กœ์ ํŠธ์— ์ถ”๊ฐ€ + uses: actions/add-to-project@v1.0.2 + with: + project-url: "https://github.com/orgs/prgrms-web-devcourse-final-project/projects/145" + github-token: ${{ secrets.PROJECT_ACCESS_TOKEN }} diff --git a/db_dev.mv.db b/db_dev.mv.db new file mode 100644 index 00000000..3d84ab35 Binary files /dev/null and b/db_dev.mv.db differ