ci(codacy): fix ESLint/PMD/pylint SARIF crash

Add .codacy.yml to disable ESLint (no .eslintrc in web/), PMD (no Java
code), and Prospector; restrict analysis paths to rdagent/ core.
Limit codacy workflow to bandit-only to avoid IndexOutOfBoundsException
at Sarif.scala:185 caused by 14k+ pylint results overwhelming the
SARIF formatter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
TPTBusiness
2026-04-18 08:40:46 +02:00
parent b8d9564fae
commit f1c2b7d3a9
2 changed files with 36 additions and 0 deletions
+3
View File
@@ -50,6 +50,9 @@ jobs:
format: sarif
gh-code-scanning-compat: true
max-allowed-issues: 2147483647
# Limit to bandit only — avoids ESLint (no .eslintrc), PMD (no ruleset),
# and pylint 14k-result SARIF crash (IndexOutOfBoundsException Sarif.scala:185)
tool: bandit
# Upload the SARIF file generated in the previous step
- name: Upload SARIF results file