mirror of
https://github.com/tiennm99/ccs.git
synced 2026-10-15 10:14:36 +00:00
Merge remote-tracking branch 'origin/main' into dev
This commit is contained in:
commit
c32fbdac5d
2 files changed
+7
-3
No files matched your search
@@ -242,14 +242,16 @@ jobs:
|
|||||||
${{ steps.review-prompt.outputs.content }}
|
${{ steps.review-prompt.outputs.content }}
|
||||||
|
|
||||||
## IMPORTANT: Writing the Review
|
## IMPORTANT: Writing the Review
|
||||||
After completing your analysis, write the final review markdown to `${{ env.REVIEW_OUTPUT_FILE }}`.
|
After completing your analysis, use the `Write` tool to write the final review markdown to `${{ env.REVIEW_OUTPUT_FILE }}`.
|
||||||
|
Do NOT use `Edit` tool — use `Write` tool directly to create the file in one shot.
|
||||||
Do NOT post any GitHub comments yourself. The workflow will publish the saved file.
|
Do NOT post any GitHub comments yourself. The workflow will publish the saved file.
|
||||||
|
Do NOT modify any source code files — this is a READ-ONLY review.
|
||||||
|
|
||||||
End your review with:
|
End your review with:
|
||||||
> 🤖 Reviewed by `${{ env.REVIEW_MODEL }}`
|
> 🤖 Reviewed by `${{ env.REVIEW_MODEL }}`
|
||||||
|
|
||||||
IMPORTANT RULES:
|
IMPORTANT RULES:
|
||||||
- Overwrite `${{ env.REVIEW_OUTPUT_FILE }}`
|
- Use `Write` tool to overwrite `${{ env.REVIEW_OUTPUT_FILE }}` with the complete review
|
||||||
- Do NOT use shell operators like || or && in bash commands
|
- Do NOT use shell operators like || or && in bash commands
|
||||||
- Do NOT use heredoc (<<) syntax in bash commands
|
- Do NOT use heredoc (<<) syntax in bash commands
|
||||||
- Use simple, single-purpose bash commands only
|
- Use simple, single-purpose bash commands only
|
||||||
@@ -258,7 +260,7 @@ jobs:
|
|||||||
--bare
|
--bare
|
||||||
--model ${{ env.REVIEW_MODEL }}
|
--model ${{ env.REVIEW_MODEL }}
|
||||||
--permission-mode bypassPermissions
|
--permission-mode bypassPermissions
|
||||||
--max-turns 20
|
--max-turns 30
|
||||||
--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 *)"
|
--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
|
# Fallback: if Claude didn't write the review file, extract from execution output
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ const commitAnalyzer = [
|
|||||||
{
|
{
|
||||||
preset: 'conventionalcommits',
|
preset: 'conventionalcommits',
|
||||||
releaseRules: [
|
releaseRules: [
|
||||||
|
{ type: 'hotfix', release: 'patch' },
|
||||||
{ type: 'docs', scope: 'README', release: 'patch' },
|
{ type: 'docs', scope: 'README', release: 'patch' },
|
||||||
{ type: 'refactor', release: 'patch' },
|
{ type: 'refactor', release: 'patch' },
|
||||||
{ type: 'style', release: 'patch' },
|
{ type: 'style', release: 'patch' },
|
||||||
@@ -35,6 +36,7 @@ const releaseNotesGenerator = [
|
|||||||
types: [
|
types: [
|
||||||
{ type: 'feat', section: 'Features' },
|
{ type: 'feat', section: 'Features' },
|
||||||
{ type: 'fix', section: 'Bug Fixes' },
|
{ type: 'fix', section: 'Bug Fixes' },
|
||||||
|
{ type: 'hotfix', section: 'Hotfixes' },
|
||||||
{ type: 'docs', section: 'Documentation' },
|
{ type: 'docs', section: 'Documentation' },
|
||||||
{ type: 'style', section: 'Styles' },
|
{ type: 'style', section: 'Styles' },
|
||||||
{ type: 'refactor', section: 'Code Refactoring' },
|
{ type: 'refactor', section: 'Code Refactoring' },
|
||||||
|
|||||||
Reference in new issue
Block a user