fix: address image CLI review feedback #101
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 Title | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize, reopened] | |
| permissions: | |
| pull-requests: read | |
| jobs: | |
| pr-title: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Validate semantic PR title | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| set -euo pipefail | |
| if [[ ! "${PR_TITLE}" =~ ^(feat|fix|docs|chore|refactor|test|ci|perf|build|revert)(\([a-zA-Z0-9._-]+\))?!?:\ .+ ]]; then | |
| echo "PR title must follow Conventional Commit style, for example:" | |
| echo " feat: add release workflow" | |
| echo " fix: handle missing API key" | |
| echo " docs: clarify install steps" | |
| exit 1 | |
| fi |