chore: update THIRD_PARTY_NOTICES.md (auto) #266
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 Branch Name | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, edited] | |
| permissions: read-all | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-slim | |
| steps: | |
| - name: Validate PR branch name | |
| shell: bash | |
| env: | |
| HEAD_REF: ${{ github.head_ref }} | |
| run: | | |
| case "$HEAD_REF" in | |
| feat/*|feature/*|fix/*|docs/*|perf/*|refactor/*|chore/*|dependabot/*|renovate/*) | |
| echo "Branch name '$HEAD_REF' follows the project convention." | |
| ;; | |
| *) | |
| echo "::error title=Invalid PR branch name::Branch '$HEAD_REF' does not follow CONTRIBUTING.md. Use feat/, feature/, fix/, docs/, perf/, refactor/, chore/, dependabot/, or renovate/; do not use tool-dependent prefixes such as codex/ or claude/." | |
| exit 1 | |
| ;; | |
| esac |