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 committed 2026-03-16 07:42:13 -04:00
1 parent b528bcbf35
commit 78287807f8
2 files changed
+2 -2

No files matched your search

+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. - Full adversarial analysis across all checklist areas.
**Deep review** (ANY of these conditions): **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) - New dependencies added (package.json/lockfile changed)
- CI/CD workflow files changed - CI/CD workflow files changed
- Environment variables added/changed - Environment variables added/changed
+1 -1
View File
@@ -187,7 +187,7 @@ jobs:
run: | run: |
PROMPT_FILE=".github/review-prompt.md" PROMPT_FILE=".github/review-prompt.md"
if [ ! -f "$PROMPT_FILE" ]; then 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="" PROMPT_FILE=""
fi fi
DELIMITER="REVIEW_PROMPT_$(openssl rand -hex 16)" DELIMITER="REVIEW_PROMPT_$(openssl rand -hex 16)"