Adjust JSON depth for SARIF output

Reduced JSON depth for SARIF conversion from 200 to 100.

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann
2025-11-03 10:21:13 +01:00
committed by GitHub
parent c3d43415f5
commit d927807e5d

View File

@@ -72,7 +72,7 @@ jobs:
$run.properties['category'] = "run-$i"
}
$sarif | ConvertTo-Json -Depth 200 | Set-Content -Encoding utf8 $outputPath
$sarif | ConvertTo-Json -Depth 100 | Set-Content -Encoding utf8 $outputPath
Write-Host "✅ Wrote patched SARIF to $outputPath"
# Upload SARIF file to GitHub Code Scanning Alerts