Skip to content

chore(deps): bump fast-uri from 3.1.2 to 3.1.5 in /trailer #168

chore(deps): bump fast-uri from 3.1.2 to 3.1.5 in /trailer

chore(deps): bump fast-uri from 3.1.2 to 3.1.5 in /trailer #168

Workflow file for this run

name: PR Title
on:
pull_request_target:
types:
- opened
- edited
- reopened
- synchronize
permissions:
pull-requests: read
jobs:
conventional-pr-title:
if: ${{ github.event.pull_request.base.ref == 'main' }}
runs-on: ubuntu-latest
steps:
- name: Validate conventional PR title
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
pattern='^(feat|fix|docs|chore|refactor|test|perf|build|ci|revert)(\([[:alnum:]_.-]+\))?!?: .+'
if [[ "$PR_TITLE" =~ $pattern ]]; then
echo "PR title is valid: $PR_TITLE"
exit 0
fi
echo "PR title must use Conventional Commits so squash-merge commits on main stay clean."
echo "Allowed prefixes: feat, fix, docs, chore, refactor, test, perf, build, ci, revert"
echo "Examples:"
echo " feat: add desktop profile writer"
echo " fix(profile): preserve native image paths"
exit 1