Skip to content

feat: use theme colors for visual and copy mode selections #8

feat: use theme colors for visual and copy mode selections

feat: use theme colors for visual and copy mode selections #8

Workflow file for this run

name: pr-title
on:
pull_request:
types: [opened, edited, reopened, synchronize]
jobs:
check-title:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Validate PR title
env:
PR_TITLE: ${{ github.event.pull_request.title }}
run: |
echo "Checking PR title: $PR_TITLE"
if printf '%s\n' "$PR_TITLE" | grep -Eq '^(feat|fix|chore|docs|test|refactor|ci)(\([^)]+\))?: .+'; then
exit 0
fi
echo "::error title=Invalid PR title::PR title must start with feat:, fix:, chore:, docs:, test:, refactor:, or ci:"
exit 1