From 78287807f8c441db74d17630b7dad3fede42e997 Mon Sep 17 00:00:00 2001 From: Tam Nhu Tran Date: Mon, 16 Mar 2026 07:42:13 -0400 Subject: [PATCH] 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/ --- .github/review-prompt.md | 2 +- .github/workflows/ai-review.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/review-prompt.md b/.github/review-prompt.md index 7bcb8f24..94636aec 100644 --- a/.github/review-prompt.md +++ b/.github/review-prompt.md @@ -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 diff --git a/.github/workflows/ai-review.yml b/.github/workflows/ai-review.yml index 84224f2a..bd920d69 100644 --- a/.github/workflows/ai-review.yml +++ b/.github/workflows/ai-review.yml @@ -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)"