Skip to content

Chore: CI 파이프라인 추가#1

Merged
dungbik merged 2 commits intomainfrom
chore/ci
Feb 9, 2026
Merged

Chore: CI 파이프라인 추가#1
dungbik merged 2 commits intomainfrom
chore/ci

Conversation

@dungbik
Copy link
Contributor

@dungbik dungbik commented Feb 9, 2026

Summary by CodeRabbit

릴리스 노트

  • Chores
    • GitHub Actions CI/CD 파이프라인을 추가하여 코드 빌드, 테스트, 의존성 검사를 자동화했습니다.
    • 테스트 환경 설정 파일을 추가했습니다.

@dungbik dungbik self-assigned this Feb 9, 2026
@dungbik dungbik added the enhancement New feature or request label Feb 9, 2026
@coderabbitai
Copy link

coderabbitai bot commented Feb 9, 2026

Walkthrough

GitHub Actions CI/CD 워크플로우 추가 및 테스트용 JWT 설정 파일 생성. CI 워크플로우는 main 브랜치의 푸시 및 PR 시 트리거되어 JDK 21과 Gradle로 빌드 및 테스트를 수행하고, Dependency-Check 스캔을 실행하여 보고서를 생성합니다.

Changes

Cohort / File(s) Summary
CI/CD 워크플로우 설정
.github/workflows/ci.yml
main 브랜치 푸시/PR 시 트리거되는 CI 워크플로우 추가. JDK 21 설정, Gradle 빌드 및 테스트 실행, Dependency-Check 스캔 수행 및 보고서 업로드 포함.
테스트 환경 설정
src/test/resources/application.yml
JWT 시크릿 값을 포함한 테스트용 애플리케이션 설정 파일 추가.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Poem

🐰 CI 파이프라인이 쑤욱 등장했네,
자동 빌드와 스캔도 함께 춤춘다네,
테스트 설정도 제대로 갖추니,
품질 점검은 이제 완벽하지,
마음 놓고 코드를 커밋 하거라! 🚀

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed PR 제목이 변경 사항의 주요 내용을 명확하게 설명합니다. CI 파이프라인 추가라는 핵심 변경 사항을 정확히 반영하고 있습니다.
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.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/ci

Warning

Review ran into problems

🔥 Problems

Git: Failed to clone repository. Please run the @coderabbitai full review command to re-trigger a full review. If the issue persists, set path_filters to include or exclude specific files.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In @.github/workflows/ci.yml:
- Around line 44-49: Replace the unstable reference to the dependency-check
action (the line using dependency-check/Dependency-Check_Action@main) with a
fixed version tag to prevent upstream changes from affecting CI—change the
action ref from `@main` to the stable tag (e.g., `@v1.1.0`) in the workflow step
named "Run dependency check".
🧹 Nitpick comments (1)
.github/workflows/ci.yml (1)

37-56: dependency-check job이 build job과 독립적으로 실행됩니다.

현재 두 job 사이에 needs 의존성이 없으므로 병렬 실행됩니다. 의도된 설계라면 문제없지만, 빌드 성공 후에만 dependency check를 실행하고 싶다면 needs: build를 추가하세요. 병렬 실행이 의도된 것이라면 이 코멘트는 무시하셔도 됩니다.

Comment on lines +44 to +49
- name: Run dependency check
uses: dependency-check/Dependency-Check_Action@main
with:
project: 'FlipNote-Gateway'
path: '.'
format: 'HTML'
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🟠 Major

🧩 Analysis chain

🌐 Web query:

dependency-check/Dependency-Check_Action latest release version GitHub

💡 Result:

The latest GitHub release of dependency-check/Dependency-Check_Action is v1.1.0, published April 28, 2021. [1] (It’s also listed as the latest on the GitHub Marketplace entry for the action.) [2]


dependency-check/Dependency-Check_Action@main을 버전 태그로 고정하세요.

@main 브랜치를 참조하면 업스트림 변경이 예기치 않게 CI 파이프라인에 영향을 미칠 수 있습니다(공급망 보안 위험). 현재 최신 안정 버전인 @v1.1.0으로 고정하세요.

수정 예시
      - name: Run dependency check
-        uses: dependency-check/Dependency-Check_Action@main
+        uses: dependency-check/Dependency-Check_Action@v1.1.0
         with:
           project: 'FlipNote-Gateway'
           path: '.'
           format: 'HTML'
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
- name: Run dependency check
uses: dependency-check/Dependency-Check_Action@main
with:
project: 'FlipNote-Gateway'
path: '.'
format: 'HTML'
- name: Run dependency check
uses: dependency-check/Dependency-Check_Action@v1.1.0
with:
project: 'FlipNote-Gateway'
path: '.'
format: 'HTML'
🤖 Prompt for AI Agents
In @.github/workflows/ci.yml around lines 44 - 49, Replace the unstable
reference to the dependency-check action (the line using
dependency-check/Dependency-Check_Action@main) with a fixed version tag to
prevent upstream changes from affecting CI—change the action ref from `@main` to
the stable tag (e.g., `@v1.1.0`) in the workflow step named "Run dependency
check".

@dungbik dungbik merged commit 03694dc into main Feb 9, 2026
3 checks passed
@dungbik dungbik deleted the chore/ci branch February 9, 2026 09:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant