mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-15 16:19:12 +00:00
fix(ai-review): increase max-turns to 40 and add hotfix commitlint type
- Bump --max-turns 30→40 for comprehensive single-reviewer prompt - Add 'hotfix' to commitlint allowed types (already in .releaserc.cjs)
This commit is contained in:
@@ -261,7 +261,7 @@ jobs:
|
||||
--bare
|
||||
--model ${{ env.REVIEW_MODEL }}
|
||||
--permission-mode bypassPermissions
|
||||
--max-turns 30
|
||||
--max-turns 40
|
||||
--allowedTools "Glob,Grep,Read,Write,Bash(gh pr diff *),Bash(gh pr view *),Bash(git diff *),Bash(git log *),Bash(git show *),Bash(cat *),Bash(ls *),Bash(wc *),Bash(head *),Bash(tail *),Bash(find *)"
|
||||
|
||||
# Fallback: if Claude didn't write the review file, extract from execution output
|
||||
|
||||
@@ -15,7 +15,8 @@ module.exports = {
|
||||
'chore', // Maintenance → no release
|
||||
'ci', // CI/CD changes → no release
|
||||
'build', // Build system → no release
|
||||
'revert' // Revert commit → PATCH
|
||||
'revert', // Revert commit → PATCH
|
||||
'hotfix' // Production hotfix → PATCH
|
||||
]],
|
||||
// Subject case - disabled to allow capital letters
|
||||
'subject-case': [0],
|
||||
|
||||
Reference in New Issue
Block a user