mirror of
https://github.com/tiennm99/ccs.git
synced 2026-07-16 04:18:05 +00:00
fix(ci): use full path in warning and add workflows/ to deep review triggers
- Warning message now shows '.github/review-prompt.md' instead of just 'review-prompt.md' for easier debugging - Deep review scope-aware trigger explicitly includes .github/workflows/ alongside auth/, middleware/, security/, crypto/, commands/, shared/
This commit is contained in:
@@ -32,7 +32,7 @@ Calibrate review depth based on PR scope. DO NOT give a trivial typo fix the sam
|
||||
- Full adversarial analysis across all checklist areas.
|
||||
|
||||
**Deep review** (ANY of these conditions):
|
||||
- Files in: auth/, middleware/, security/, crypto/, commands/, shared/
|
||||
- Files in: auth/, middleware/, security/, crypto/, commands/, shared/, .github/workflows/
|
||||
- New dependencies added (package.json/lockfile changed)
|
||||
- CI/CD workflow files changed
|
||||
- Environment variables added/changed
|
||||
|
||||
@@ -187,7 +187,7 @@ jobs:
|
||||
run: |
|
||||
PROMPT_FILE=".github/review-prompt.md"
|
||||
if [ ! -f "$PROMPT_FILE" ]; then
|
||||
echo "::warning::review-prompt.md not found — using fallback prompt"
|
||||
echo "::warning::.github/review-prompt.md not found — using fallback prompt"
|
||||
PROMPT_FILE=""
|
||||
fi
|
||||
DELIMITER="REVIEW_PROMPT_$(openssl rand -hex 16)"
|
||||
|
||||
Reference in New Issue
Block a user