깃 설정

브랜치 보호

https://github.com/sb05-part4-team1/mopl-backend/settings/rules/11324668

기본적으로 현재는 main 브랜치만 타겟 설정

스크린샷 2025-12-23 오후 1.20.23.png

Restrict creations

브랜치 생성 제한

Only allow users with bypass permission to create matching refs.

Restrict deletions

브랜치 삭제 제한

Only allow users with bypass permissions to delete matching refs.

Require a pull request before merging

브랜치에 직접 push 제한

Require all commits be made to a non-target branch and submitted via a pull request before they can be merged.

스크린샷 2025-12-23 오후 1.21.45.png

Block force pushes

브랜치에 강제 푸시 금지

Prevent users with push access from force pushing to refs.

Automatically request Copilot code review

새로운 PR 생성 시 Copilot이 자동으로 코드 리뷰 댓글 달아줌