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:
Tam Nhu Tran
2026-03-16 07:42:13 -04:00
parent b528bcbf35
commit 78287807f8
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -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
+1 -1
View File
@@ -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)"