Repository navigation
fix(openclaw): follow list cursors and look up memories by ID #525
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 Check | |
| on: | |
| pull_request: | |
| types: [opened, edited, synchronize] | |
| jobs: | |
| title: | |
| name: Check PR title | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Validate title | |
| env: | |
| TITLE: ${{ github.event.pull_request.title }} | |
| # Conventional Commits: type(scope?): description | |
| # Allowed types: feat, fix, docs, style, refactor, perf, test, chore, build, ci, revert | |
| PATTERN: '^(feat|fix|docs|style|refactor|perf|test|chore|build|ci|revert)(\([a-z0-9-]+\))?!?:\s+.+' | |
| run: | | |
| if echo "$TITLE" | grep -qE "$PATTERN"; then | |
| echo "✅ PR title OK: $TITLE" | |
| else | |
| echo "::error::Invalid PR title! Must follow Conventional Commits format." | |
| echo "" | |
| echo "✅ Examples:" | |
| echo " feat(memory): add branch support" | |
| echo " fix(embedding): correct dimension mismatch on local provider" | |
| echo " docs: update quick start guide" | |
| echo " ci: add static checks workflow" | |
| echo "" | |
| echo "❌ Your title: '$TITLE'" | |
| echo "" | |
| echo "📚 Learn more: https://www.conventionalcommits.org" | |
| exit 1 | |
| fi |