Git Flow AI PR 리뷰 자동화 추가#233
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
📝 Summary
Git Flow 브랜치 패턴에 맞는 PR이 생성되거나 Draft에서 Ready for review로 전환될 때 OpenAI 기반 AI 리뷰를 남기는 GitHub Actions workflow를 추가합니다.
🎯 Type of Change
🔗 Related Issues
📋 Changes Made
Added
AI PR ReviewGitHub Actions workflow 추가GITHUB_TOKEN으로 PR review comment를 남기는 자동화 추가OPENAI_API_KEY미설정 시 workflow를 실패시키지 않고 skip하는 guard 추가Changed
Docs/delivery-workflow.md에 AI 리뷰 자동화의 대상 브랜치, secret, model variable 운영 기준 추가Fixed
Removed
🔍 Technical Details
opened,ready_for_review이벤트로 제한했습니다.develop대상 PR은feature/*,bugfix/*,release/*head만 리뷰합니다.main대상 PR은develop,release/*,hotfix/*head만 리뷰합니다.synchronize이벤트에서는 재리뷰하지 않아 push마다 OpenAI API 비용이 반복 발생하지 않게 했습니다.OPENAI_REVIEW_MODEL로 교체할 수 있고 기본값은gpt-4.1-mini입니다.📸 Screenshots / Videos
Before
After
✅ Testing
Test Plan
git diff --checkgithub-scriptJavaScript syntax checkmake lintmake arch-checkTest Environment
Test Results
git diff --check통과ruby -e ... YAML.load_file(...)통과node --check통과make lint통과: 0 violationsmake arch-check통과: Architecture checks passedxcodebuild build -workspace Mulimi.xcworkspace -scheme Mulimi -destination generic/platform=iOS CODE_SIGNING_ALLOWED=NO CODE_SIGNING_REQUIRED=NO통과: BUILD SUCCEEDED🚨 Breaking Changes
📌 Additional Notes
OPENAI_API_KEY가 있어야 AI 리뷰가 실행됩니다.OPENAI_REVIEW_MODEL은 선택 사항입니다.👀 Review Checklist
actions/github-script@v7사용)OPENAI_API_KEYsecret 필요)🤖 PR 템플릿 v1.0