[Story/groomer] 미용사는 예약관리를 할 수 있다 #277
Workflow file for this run
This file contains 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: ✅ Check PR Title for Issue Key | |
on: | |
pull_request: | |
types: [opened, edited, reopened] | |
jobs: | |
check-title: | |
runs-on: ubuntu-latest | |
steps: | |
- name: 🔆 Check PR Title Prefix | |
id: check_title | |
run: | | |
if [[ ! "${{ github.event.pull_request.title }}" =~ ^\[(Feature|Fix|Hotfix|Refactor|Design|Style|Chore|Story|Task)/.*\] ]]; then | |
echo "🚨 PR 제목 형식을 지켜 주세요!" | |
exit 1 | |
else | |
echo "🧚🏻♀️ PR 제목 규칙을 통과했습니다" | |
fi | |
- name: Fail if title check fails | |
if: failure() | |
run: exit 1 |