Repository navigation
[기능] fix: 비개발자 작업 브랜치 접두사를 work/로 변경 - #21
Merged
Merged
Conversation
저장소에 preview 브랜치가 있으면 git이 preview/<이름> 브랜치를 만들 수 없어 new-preview-worktree.sh가 항상 실패했습니다. 스크립트, guard-preview-branch 훅, CLAUDE.md의 접두사를 work/로 함께 바꿨습니다. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Merged
This branch was successfully deployed
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.
Pull Request
PR 종류
관련 이슈
작업 내용
new-preview-worktree.sh가 항상 실패하던 문제를 고쳤습니다.preview브랜치가 있으면preview/<이름>브랜치를 만들 수 없고, 기본 브랜치가preview라서 저장소를 받은 모든 사람에게 이 브랜치가 있습니다. 원격에도preview가 있어 같은 이름으로는 push도 거부됩니다.work/로 바꾸고, 같은 접두사를 쓰는 세 곳을 함께 고쳤습니다..claude/scripts/new-preview-worktree.sh:work/<작업-이름>브랜치를 만듭니다..claude/hooks/guard-preview-branch.mjs:work/로 시작하는 워크트리에서만 수정, 커밋, push를 허용합니다. 접두사는BRANCH_PREFIX상수 하나로 모았습니다.CLAUDE.md: 절대 규칙 2번의 브랜치 설명을work/로 바꿨습니다.참고 사항
work/prefix-smoke-test브랜치가 생기는 것을 확인했습니다.FI_ADMIN_DEVELOPER를 끈 상태로 실행해 확인했습니다.work/워크트리 안에서 파일 수정, 커밋, pushpreview로의 push, 훅 파일 수정origin/preview를 바탕으로 만든다는 뜻이라 그대로 두었습니다.auto-label.yml의 접두사 매핑에work가 없어 비개발자 PR에는 라벨이 붙지 않습니다. 기존preview도 매핑에 없었으므로 이번 변경으로 달라지는 점은 아니며, 필요하면 별도로 추가해야 합니다.체크리스트
🤖 Generated with Claude Code