Skip to content

feat: swappable AI provider system (claude, codex, ollama) #7

feat: swappable AI provider system (claude, codex, ollama)

feat: swappable AI provider system (claude, codex, ollama) #7

Workflow file for this run

name: Check PR
on:
pull_request:
types: [opened, edited, synchronize, reopened]
permissions:
contents: read
pull-requests: read
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
check-pr-title:
name: Check PR Title
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Check conventional commit title
run: |
title="${{ github.event.pull_request.title }}"
if ! echo "$title" | grep -qP '^(\p{So} )?(feat|fix|docs|chore|ci|refactor|test|perf|build|style|revert)(\(.+\))?!?: .+'; then
echo "::error::PR title must follow: [emoji] type: description"
echo "Valid types: feat, fix, docs, chore, ci, refactor, test, perf, build, style, revert"
echo "Examples: '✨ feat: Add new feature' or 'fix: Correct bug'"
exit 1
fi