Adjust JSON depth for SARIF output
Reduced JSON depth for SARIF conversion from 200 to 100.
Signed-off-by: Niels Lohmann <mail@nlohmann.me>
diff --git a/.github/workflows/msvc.yml b/.github/workflows/msvc.yml
index 3b1e69e..8d98d6e 100644
--- a/.github/workflows/msvc.yml
+++ b/.github/workflows/msvc.yml
@@ -72,7 +72,7 @@
$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