From d08b9b3721739968ad4f223c932cae9da908123c Mon Sep 17 00:00:00 2001 From: Rajendra Reddy Date: Sun, 29 Mar 2026 16:32:01 +0000 Subject: [PATCH] Update .gitea/workflows/codeant.yml --- .gitea/workflows/codeant.yml | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/codeant.yml b/.gitea/workflows/codeant.yml index 265846a..d64a08a 100644 --- a/.gitea/workflows/codeant.yml +++ b/.gitea/workflows/codeant.yml @@ -36,24 +36,22 @@ jobs: # Verify: This should now show ~35-40 bytes echo "Config file size: $(wc -c < $HOME/.codeant/config.json) bytes" - - name: Run CodeAnt AI Review + - name: Force full repo AI scan run: | echo "Preparing full repo scan..." git config --global user.email "ci@gitea.local" git config --global user.name "Gitea CI" - # Ensure we have main branch git fetch origin main - # Create a new branch from main - git checkout -b codeant-scan + git checkout -b codeant-fullscan - # Make a dummy change to force diff - echo "# scan $(date)" >> codeant-temp.txt + # 🔥 TOUCH ALL FILES (this is the key) + find . -type f -not -path "./.git/*" -exec touch {} + git add . - git commit -m "codeant full scan trigger" + git commit -m "full repo scan" echo "Running CodeAnt AI Review..." codeant review --committed > review.txt || true