fix(i18n): align translation domain structure #3930
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 - Semantic PR Title | |
| on: | |
| pull_request: | |
| branches: | |
| - develop | |
| - main | |
| types: | |
| - opened | |
| - edited | |
| - reopened | |
| - synchronize | |
| jobs: | |
| validate-pr-title: | |
| name: Validate PR Title | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Check Conventional PR Title | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| regex='^(build|chore|ci|docs|feat|fix|perf|refactor|revert|style|test)(\([A-Za-z0-9._/-]+\))?(!)?: .+$' | |
| if ! printf '%s\n' "$PR_TITLE" | grep -Eq "$regex"; then | |
| echo "PR titles for develop/main must use Conventional Commit format." >&2 | |
| echo "Example: refactor(release): adopt semantic-release for stable builds" >&2 | |
| exit 1 | |
| fi |