feat: implement git repository synchronization and automated commit functionality for AI review findings

This commit is contained in:
Jeffery
2026-05-21 10:17:01 +08:00
parent 43ebc81f1d
commit e99236b893
6 changed files with 17 additions and 3 deletions
+2 -2
View File
@@ -119,8 +119,8 @@ describe('filterDiff', () => {
});
it('returns empty string when all blocks are excluded', () => {
const diff = block('.gitea/workflows/review.yaml') + block('.gitea/ai-review/findings.json') + block('CLAUDE.md');
const result = filterDiff(diff, ['.gitea/', 'CLAUDE.md']);
const diff = block('.gitea/workflows/review.yaml') + block('.gitea/ai-review/findings.json') + block('.agents/skills/triage-findings/SKILL.md');
const result = filterDiff(diff, ['.gitea/', '.agents/']);
assert.equal(result, '');
});