Skip to content

Commit

Permalink
Merge pull request #117 from SOPT-all/develop
Browse files Browse the repository at this point in the history
배포를 위한 Main 1차 병합
  • Loading branch information
ocahs9 authored Jan 18, 2025
2 parents 14b27a3 + f1409f0 commit 8430100
Show file tree
Hide file tree
Showing 254 changed files with 11,708 additions and 1,026 deletions.
46 changes: 46 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: "🐞 버그"
description: "발견한 버그를 보고해주세요. 자세한 정보를 포함해 주시면 큰 도움이 됩니다!"
title: "[BUG] - 간단한 문제 설명"
labels:
- bug
- needs triage
assignees:
- ""

body:
- type: markdown
attributes:
value: |
아래 템플릿을 따라 버그를 보고해주세요. 필요한 정보를 모두 작성해주세요.
- type: input
id: bug_description
attributes:
label: "버그 설명"
description: "발생한 버그에 대해 명확하고 간결하게 설명해주세요."
placeholder: "버그가 무엇인지 간단히 적어주세요."

- type: textarea
id: reproduce_steps
attributes:
label: "재현 방법"
description: "버그를 재현하기 위한 단계(예: 1. '...'로 이동, 2. '...' 클릭)를 작성해주세요."
placeholder: |
1. '...'로 이동
2. '...'를 클릭
3. '...'로 스크롤
4. 오류를 확인
- type: input
id: expected_behavior
attributes:
label: "예상 동작"
description: "기대했던 동작을 간결하게 설명해주세요."
placeholder: "정상적으로 작동할 경우 어떻게 보여야 하나요?"

- type: textarea
id: additional_context
attributes:
label: "추가 정보"
description: "문제와 관련된 추가적인 정보를 작성해주세요."
placeholder: "추가 정보를 입력하세요 (선택 사항)."
23 changes: 23 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: "✨ Feat"
description: "새로운 기능 추가"
title: "[ Feat ] "
labels: ["feature"]
body:
- type: textarea
attributes:
label: 📄 설명
description: 새로운 기능에 대한 설명을 작성해 주세요.
placeholder: 자세히 적을수록 좋습니다!
validations:
required: true
- type: textarea
attributes:
label: ✅ 작업할 내용
description: 할 일을 체크박스 형태로 작성해주세요.
placeholder: 최대한 세분화 해서 적어주세요!
validations:
required: true
- type: textarea
attributes:
label: 🙋🏻 참고 자료
description: 참고 자료가 있다면 작성해 주세요.
68 changes: 68 additions & 0 deletions .github/ISSUE_TEMPLATE/refactor-issue.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
name: "♻️ 리팩토링 요청"
description: "코드 개선이나 리팩토링이 필요한 부분을 보고해주세요."
title: "[REFACTOR] - 간단한 리팩토링 요청 내용"
labels:
- refactor
- enhancement
assignees:
- ""

body:
- type: markdown
attributes:
value: |
아래 템플릿을 따라 리팩토링 요청 내용을 작성해주세요.
- type: input
id: refactoring_area
attributes:
label: "리팩토링 대상"
description: "리팩토링이 필요한 코드 영역이나 파일을 명시해주세요."
placeholder: "예: components/Button.js, utils/apiHandler.js"

- type: textarea
id: current_issue
attributes:
label: "현재 문제점"
description: "현재 코드에서 개선이 필요한 문제점이나 비효율적인 부분을 설명해주세요."
placeholder: |
- 코드가 중복되어 유지보수가 어렵습니다.
- 가독성이 떨어집니다.
- 성능 문제가 있습니다.
- type: textarea
id: refactoring_scope
attributes:
label: "리팩토링 범위"
description: "리팩토링이 적용될 구체적인 범위를 작성해주세요."
placeholder: |
- 특정 컴포넌트/모듈
- 기능 단위 코드
- 전체적인 코드 구조
- type: textarea
id: expected_outcome
attributes:
label: "예상 효과"
description: "리팩토링 완료 후 기대되는 결과를 작성해주세요."
placeholder: |
- 가독성 향상
- 성능 최적화
- 코드 재사용성 증대
- type: dropdown
id: priority
attributes:
label: "우선순위"
description: "리팩토링의 우선순위를 설정해주세요."
options:
- "낮음"
- "보통"
- "높음"

- type: textarea
id: additional_context
attributes:
label: "추가 정보"
description: "리팩토링과 관련된 추가적인 정보를 작성해주세요."
placeholder: "관련 자료 링크, 참고할 문서, 팀 내 논의 사항 등을 작성하세요."
21 changes: 21 additions & 0 deletions .github/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# Reviewer 자동 할당 설정
addReviewers: true

# Assignee를 Author로 설정
addAssignees: author

# Reviewer 추가할 사용자 목록
reviewers:
- minjeoong
- ocahs9
- yarimu
- Leeyoonji23


# 추가할 리뷰어 수
# 0으로 설정하면 그룹 내 모든 리뷰어를 추가합니다 (기본값: 0)
numberOfReviewers: 0

# Pull Request에 아래 키워드가 포함되어 있으면 리뷰어 추가 프로세스를 건너뜁니다
skipKeywords:
- exclude-review # 리뷰를 제외할 키워드 설정
15 changes: 15 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@

## 🔥 Related Issues

- close #issue_number

## ✅ 작업 리스트

- [ ] 체크리스트
- [ ] 체크리스트

## 🔧 작업 내용

## 📣 리뷰어에게 어떠신가요?

## 📸 스크린샷 / GIF / Link
15 changes: 15 additions & 0 deletions .github/workflows/auto_assign.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: 'Auto Assign'
on:
pull_request:
types: [opened, ready_for_review]

jobs:
add-reviews:
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: write
steps:
- uses: kentaro-m/auto-assign-action@v2.0.0
with:
configuration-path: '.github/auto_assign.yml' # Only needed if you use something other than .github/auto_assign.yml
33 changes: 33 additions & 0 deletions .github/workflows/forkDevelop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Synchronize develop to forked repos
on:
push:
branches:
- develop

jobs:
sync:
name: Sync forked repo
if: github.ref == 'refs/heads/develop'
runs-on: ubuntu-latest

steps:
- name: Checkout develop
uses: actions/checkout@v4
with:
token: ${{ secrets.FORKED_REPO_TOKEN }}
fetch-depth: 0
ref: develop

- name: Add remote-url
run: |
git remote add forked-repo https://ocahs9:${{ secrets.FORKED_REPO_TOKEN }}@github.com/ocahs9/35-APPJAM-WEB-COCOS
git config user.name ocahs9
git config user.email ${{ secrets.EMAIL }}
- name: Push changes to forked-repo
run: |
git push -f forked-repo develop
- name: Clean up
run: |
git remote remove forked-repo
33 changes: 33 additions & 0 deletions .github/workflows/forkMain.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Synchronize Main to forked repos
on:
push:
branches:
- main

jobs:
sync:
name: Sync forked repo
if: github.ref == 'refs/heads/main'
runs-on: ubuntu-latest

steps:
- name: Checkout main
uses: actions/checkout@v4
with:
token: ${{ secrets.FORKED_REPO_TOKEN }}
fetch-depth: 0
ref: main

- name: Add remote-url
run: |
git remote add forked-repo https://ocahs9:${{ secrets.FORKED_REPO_TOKEN }}@github.com/ocahs9/35-APPJAM-WEB-COCOS
git config user.name ocahs9
git config user.email ${{ secrets.EMAIL }}
- name: Push changes to forked-repo
run: |
git push -f forked-repo main
- name: Clean up
run: |
git remote remove forked-repo
34 changes: 34 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Build Test

on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Use Node.js 20
uses: actions/setup-node@v3
with:
node-version: '20'

- name: Install pnpm
run: |
npm install -g pnpm
echo "PNPM PATH: $(which pnpm)"
pnpm --version
- name: Install dependencies
run: pnpm install

- name: Run build
run: pnpm build
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,5 @@ dist-ssr
*.njsproj
*.sln
*.sw?

.env
Loading

0 comments on commit 8430100

Please sign in to comment.