Repository navigation
chore: develop 삭제 금지 ruleset 분리 - #553
Conversation
릴리즈 PR(head develop)을 Admin이 머지할 때마다 delete_branch_on_merge가 develop을 지워 매번 재생성하고 있었음. develop-protection에 deletion이 있지만 같은 ruleset의 Admin 우회(always)가 자동 삭제에도 적용됨. - 우회자 없는 develop-no-deletion ruleset을 새로 두고 deletion을 옮김(우회 권한은 ruleset 단위). - develop-protection은 PR·CI·force push 규칙과 Admin 우회(릴리즈 뒤 ff 동기화용)만 유지. - README 관리 범위·import 목록 갱신. terraform plan(-target 두 ruleset): 1 to add, 1 to change. 실제 차단은 apply 뒤 다음 릴리즈 머지에서 확인.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the
|
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
🩺 NestJS Doctor — 90/100 (Excellent)진단 493건 (error 13).
architecture / security 상위 항목
|
🧹 knip — dead-code 리포트전체 리포트
|
Coverage report
Test suite run success4352 tests passing in 391 suites. Report generated by 🧪jest coverage report action from a8ff90b |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
개요
릴리즈 PR(head
develop)을 머지할 때마다delete_branch_on_merge가 develop을 지워서, 매번 main 기준으로 다시 만들고 있었습니다. 이 PR은 develop이 남도록 삭제 금지 규칙을 별도 ruleset으로 분리합니다.develop-protection에 이미deletion = true가 있지만, 같은 ruleset의 Admin 우회(bypass_mode = "always")가 자동 삭제에도 적용됩니다.변경 사항
develop-no-deletionruleset 신설:refs/heads/develop에deletion만 두고 우회자는 없습니다.develop-protection:deletion을 빼고 PR·CI·force push 규칙과 Admin 우회(릴리즈 뒤 fast-forward 동기화용)만 남겼습니다.terraform/README.md: 관리 범위와 state 유실 시 import 목록에 새 ruleset을 추가했습니다.검증
terraform plan(두 ruleset 대상):1 to add, 1 to change, 0 to destroy입니다.-target을 썼습니다.terraform apply로 반영하고,rules/branches/develop조회로 두 ruleset이 함께 걸리는지 확인합니다.플랜 대조
develop-protection의 Admin 우회는 ff 동기화용으로 유지chore/브랜치 PR → 머지 →terraform apply