chore(deps): update uvicorn requirement from >=0.30.0 to >=0.52.3 in /fowoco-knowledge #81
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: PR Conventions | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened, ready_for_review] | |
| permissions: | |
| contents: read | |
| jobs: | |
| title: | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 3 | |
| steps: | |
| - name: Validate Conventional PR title | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| python - <<'PY' | |
| import os | |
| import re | |
| import sys | |
| title = os.environ["PR_TITLE"] | |
| pattern = r"^(feat|fix|data|docs|test|refactor|chore|experiment|ci|perf|revert)(\([a-z0-9-]+\))?: .+" | |
| if not re.fullmatch(pattern, title): | |
| print("PR 제목은 <type>(<scope>): <summary> 형식이어야 합니다.") | |
| sys.exit(1) | |
| PY | |
| - name: Validate Korean summary for human PRs | |
| if: github.event.pull_request.user.login != 'dependabot[bot]' | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| python - <<'PY' | |
| import os | |
| import re | |
| import sys | |
| title = os.environ["PR_TITLE"] | |
| if not re.search(r"[가-힣]", title): | |
| print("콜론 뒤 요약에 한국어를 포함해야 합니다.") | |
| sys.exit(1) | |
| PY |