From 8e80748da5db7760c58b7b77f6023b608c2185a3 Mon Sep 17 00:00:00 2001 From: Ihor Solodrai Date: Thu, 4 Dec 2025 15:25:04 -0800 Subject: [PATCH] ai-code-review.yml: update trigger prompt Signed-off-by: Ihor Solodrai --- .github/workflows/ai-code-review.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ai-code-review.yml b/.github/workflows/ai-code-review.yml index 4d5ab54f..e939f107 100644 --- a/.github/workflows/ai-code-review.yml +++ b/.github/workflows/ai-code-review.yml @@ -124,9 +124,12 @@ jobs: claude_args: '--max-turns 100' prompt: | Current directory is the root of a Linux Kernel git repository. - Using the prompt `review/review-core.md` and the prompt directory `review` - do a code review of the top commit in the Linux repository. The commit is a part - of a patch series within the git range ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} + + Read the prompt review/review-core.md + + Using the prompt, review the HEAD commit. + + Use commit range ${{ github.event.pull_request.base.sha }}..${{ github.event.pull_request.head.sha }} for the false-positive-guide.md section. # If Claude produced review-inline.txt then it found something # Post a comment on PR and fail the job