diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml new file mode 100644 index 0000000..2f70f6e --- /dev/null +++ b/.github/ISSUE_TEMPLATE/bug.yml @@ -0,0 +1,19 @@ +name: "Bug" +description: "버그가 생겼어요 👾" +labels: ["bug"] +body: + - type: textarea + attributes: + label: Describe + description: | + [Description] 버그에 관한 설명을 적어주세요 + placeholder: | + conflict난거 그냥 merge해버림 + validations: + required: true + + - type: textarea + attributes: + label: Additional + description: | + [추가사항] 별도로 알려줘야 할 사항이나 추가사항을 작성해주세요 \ No newline at end of file diff --git a/.github/ISSUE_TEMPLATE/todo.yml b/.github/ISSUE_TEMPLATE/todo.yml new file mode 100644 index 0000000..a9797d8 --- /dev/null +++ b/.github/ISSUE_TEMPLATE/todo.yml @@ -0,0 +1,15 @@ +name: "Todo" +description: "해야할 것이 있나요??🤔" +body: + - type: textarea + attributes: + label: Describe + description: | + [Description] 할일의 설명을 작성해주세요. + placeholder: | + 회원가입 UI 작성 + - type: textarea + attributes: + label: Additional + description: | + [추가사항] 별도로 알려줘야 할 사항이나 추가사항을 작성해주세요 \ No newline at end of file diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..3655844 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,23 @@ +## ✨ 작업 내용 +> 이번 PR에서 어떤 작업을 했는지 간단히 요약해주세요. + + +--- + +## 🔍 리뷰 시 참고사항 +- 리뷰어가 알면 좋은 변경 이유, 배경, 고려했던 점 등을 적어주세요. + +--- + +## ✅ 체크리스트 +- [ ] 문서(README, `.env.example` 등) 변경이 필요한 경우 작성 또는 수정했나요? +- [ ] 작업한 코드가 정상적으로 동작하는 것을 직접 확인했나요? +- [ ] 필요한 경우 테스트 코드를 작성하거나 수정했나요? +- [ ] Merge 대상 브랜치를 올바르게 설정했나요? +- [ ] PR에 관련 없는 작업이 포함되지 않았나요? +- [ ] 적절한 라벨과 리뷰어를 설정했나요? + +--- + +## 📎 관련 이슈(선택) +- Close # diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..74be2b7 --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,28 @@ +name: CI + +on: + push: + branches: [ "main", "develop" ] + pull_request: + branches: [ "*" ] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Set up JDK 25 + uses: actions/setup-java@v4 + with: + distribution: 'temurin' + java-version: '25' + + - name: Grant execute permission for gradlew + run: chmod +x gradlew + + - name: Build with Gradle + run: ./gradlew clean build -x test +