Skip to content

Conversation

@HamBeomJoon
Copy link
Contributor

@HamBeomJoon HamBeomJoon commented Jan 21, 2026

📌 작업 내용

GitHub Actions를 활용한 PR CI 파이프라인 구축
develop 브랜치 대상 PR 생성/업데이트 시 자동 실행

실행 항목

  • Ktlint 검사
  • Unit Test 실행
  • Debug APK 빌드

기타

  • Gradle 캐싱 적용
  • 동일 PR 연속 push 시 이전 실행 취소 (concurrency)

🧩 관련 이슈


📢 논의하고 싶은 내용

Summary by CodeRabbit

릴리스 노트

  • Chores
    • Android 지속적 통합(CI) 파이프라인 추가 (PR 기반 자동 빌드 및 검사 실행)
    • 의존성 라이브러리 업그레이드: kotlintxCollectionsImmutable → 0.4.0

✏️ Tip: You can customize this high-level summary in your review settings.

* `develop` 브랜치로의 Pull Request 발생 시 자동으로 실행되는 CI 파이프라인을 구축했습니다.
* 워크플로우 단계:
    * JDK 21 설정 및 Gradle 캐시 적용
    * `local.properties` 파일 생성 (Secrets 활용)
    * `ktlintCheck`를 통한 코드 스타일 검사
    * 단위 테스트(`testDebugUnitTest`) 실행
    * 디버그 APK(`assembleDebug`) 빌드 확인
* `concurrency` 설정을 통해 동일 PR의 이전 작업은 취소되도록 최적화했습니다.
libs.versions.toml 파일 내 `kotlintxCollectionsImmutable` 라이브러리의 버전을 0.3.8에서 0.4.0으로 업데이트했습니다.
@HamBeomJoon HamBeomJoon self-assigned this Jan 21, 2026
@HamBeomJoon HamBeomJoon added the 🧹 chore 빌드, 설정, 의존성, 도구 관련 작업 label Jan 21, 2026
@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

Walkthrough

새로운 GitHub Actions 워크플로우 .github/workflows/android-pr-ci.yaml가 추가되어 develop 브랜치 대상 PR에서 트리거됩니다. 워크플로우는 진행 중인 동일 실행을 취소하도록 설정되며 ubuntu-latest에서 동작하는 단일 빌드 잡을 Prezel 디렉터리에서 실행합니다. 단계는 레포지토리 체크아웃, Temurin JDK 21 설정, Gradle 캐시 구성, gradlew 실행 권한 부여, 시크릿으로 local.properties 생성 및 ktlintCheck, detekt, 단위 테스트, assembleDebug 실행입니다. 또한 Prezel/gradle/libs.versions.toml에서 kotlintxCollectionsImmutable 버전을 0.3.8에서 0.4.0으로 업데이트했습니다.

🚥 Pre-merge checks | ✅ 4 | ❌ 1
❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Out of Scope Changes check ⚠️ Warning PR에 포함된 gradle 버전 업데이트(kotlintxCollectionsImmutable)는 GitHub Actions CI 구축의 범위를 벗어나는 변경입니다. gradle 버전 업데이트 변경은 별도의 PR로 분리하거나 CI 설정 변경과의 연관성을 명확히 설명해주세요.
✅ Passed checks (4 passed)
Check name Status Explanation
Title check ✅ Passed PR 제목이 변경 사항의 주요 내용을 명확하게 반영합니다. 'Pull Request CI 설정'은 GitHub Actions를 통한 CI 파이프라인 구축이라는 핵심 변경 사항을 직관적으로 전달합니다.
Description check ✅ Passed PR 설명이 필수 섹션인 작업 내용과 관련 이슈를 충실히 작성했으며, 추가로 구체적인 실행 항목과 설정 사항을 명시했습니다. 템플릿의 모든 주요 항목을 포함하고 있습니다.
Linked Issues check ✅ Passed PR의 모든 변경 사항이 이슈 #14의 요구사항을 충족합니다. GitHub Actions를 사용한 자동 CI 파이프라인 구축으로 PR 생성 시 코드 품질을 자동으로 검증하도록 구현되었습니다.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.


Comment @coderabbitai help to get the list of available commands and usage tips.

@HamBeomJoon
Copy link
Contributor Author

@CodeRabbit review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

✅ Actions performed

Review triggered.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@HamBeomJoon
Copy link
Contributor Author

@coderabbitai pull review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

Tip

For best results, initiate chat on the files or code changes.

@HamBeomJoon, I want to make sure I understand your request correctly. "Pull review" isn't a standard command I recognize. Could you clarify what you'd like me to do?

Here are some options:

  • Full review: If you'd like me to perform a complete review of all changes in this PR (not just incremental), I can trigger a full review
  • View comments: If you'd like to see the review comments I've already posted, you can check the "Files changed" tab in the PR
  • Regenerate summary: If you'd like me to regenerate the AI-generated summary of the PR
  • Something else: Please let me know what specific action you'd like me to take

Would you like me to perform a full review of all the changes in this PR?

* `.github/workflows/android-pr-ci.yaml`
    * `detekt` 정적 분석 단계를 추가하여 PR 시 코드 품질 검사를 수행합니다.
    * `LOCAL_PROPERTIES_CONTENTS`를 작업(job) 수준의 환경 변수에서 제거하고, 실제 사용되는 단계에서 직접 시크릿(secrets)을 참조하도록 수정했습니다.
@HamBeomJoon
Copy link
Contributor Author

@coderabbitai full review

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jan 21, 2026

✅ Actions performed

Full review triggered.

@HamBeomJoon HamBeomJoon merged commit be0efa0 into develop Jan 21, 2026
2 checks passed
@HamBeomJoon HamBeomJoon deleted the ci/pr-workflow branch January 21, 2026 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

🧹 chore 빌드, 설정, 의존성, 도구 관련 작업

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pull Request CI 설정

2 participants