chore: main/develop 머지 소스 브랜치 정책 검사 워크플로우 추가 - #99
Merged
Conversation
main은 develop/hotfix/*, develop는 hotfix/feature/feat/fix/chore/* 에서만 머지되도록 소스 브랜치를 검사한다. aipub-backend에 적용한 것과 동일한 워크플로우. 조직(ten1010-io)이 현재 GitHub Free 플랜이라 private 저장소에 branch protection/rulesets(Required status check)을 설정할 수 없어, 지금은 머지를 강제로 막지 못하고 PR에 초록/빨강 체크로만 표시된다. GitHub Team 이상으로 업그레이드되면 이 워크플로우를 main/develop의 Required status check로 등록해 실제 강제하면 된다.
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
브랜치 전략을 강제하기 위한 GitHub Actions 워크플로우를 추가한다(aipub-backend에 적용한 것과 동일, aipub-backend #453 참고).
main은develop또는hotfix/*에서만 머지develop은hotfix/*,feature/*,feat/*,fix/*,chore/*에서만 머지조직(
ten1010-io)이 GitHub Free 플랜이라 private 저장소에서 branch protection rule/Rulesets API가 막혀 있음 — 확인 완료(aipub-backend에서 동일 확인).그래서 지금은 이 체크가 Required status check로 등록되어 머지 버튼을 실제로 막을 수 없고, PR 화면에 초록/빨강 체크로만 표시되는 시각적 신호로 동작한다. 리뷰어가 이 체크 실패(❌)를 보고 리뷰/머지를 보류하는 방식으로 우선 운영.
후속 조치(GitHub Team 이상 업그레이드 후): 이 워크플로우의
check-source-branchjob을main/develop브랜치 보호 규칙의 Required status check로 등록.Test plan
🤖 Generated with Claude Code