fix: JoinRoom 비밀번호 검증 조건 및 응답 형식 개선 #11
Workflow file for this run
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
| name: CI - PR Convention | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize] | |
| jobs: | |
| pr-check: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Validate PR title | |
| run: | | |
| TITLE="${{ github.event.pull_request.title }}" | |
| if [[ ! "$TITLE" =~ ^(feat|fix|update|docs|refactor|test|chore):\ .+ ]]; then | |
| echo "PR title must follow convention: {type}: {description}" | |
| echo "" | |
| echo "Allowed types: feat, fix, update, docs, refactor, test, chore" | |
| echo "" | |
| echo "Examples:" | |
| echo " feat: 방 참여 기능 추가" | |
| echo " fix: 세션 만료 버그 수정" | |
| echo " update: Room 엔터티 수정" | |
| echo " docs: API 문서 업데이트" | |
| exit 1 | |
| fi | |
| echo "PR title is valid: $TITLE" |