Skip to content

chore(git): dev→main 브랜치 워크플로우 강제 및 branch protection 설정 #127

@thxforall

Description

@thxforall

목표

main 브랜치 직접 push를 금지하고, 모든 코드 변경은 devmain PR 머지로만 반영되도록 워크플로우를 정립한다.

작업 항목

  • dev 브랜치 생성 및 기본 작업 브랜치로 설정
  • GitHub branch protection rules 설정
    • main: direct push 금지, PR required, CI checks 필수
    • dev: 팀원 push 허용, PR optional
  • CLAUDE.md / GIT-WORKFLOW.md 문서 업데이트
  • CI workflow에서 main 직접 push 시 reject 로직 추가 (optional)

워크플로우

feature/* ──PR──▶ dev ──PR──▶ main (production)
hotfix/*  ──PR──▶ main (긴급 시에만)

관련

  • docs/GIT-WORKFLOW.md

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions