fix(ci): preserve mixed macOS CodeQL SARIF findings · openclaw/openclaw@cc80a40
vincentkoc
·
2026-04-28
·
via Recent Commits to openclaw:main
| Original file line number | Diff line number | Diff line change |
|---|
@@ -177,7 +177,8 @@ jobs:
|
177 | 177 | for file in "${files[@]}"; do |
178 | 178 | jq ' |
179 | 179 | def in_dependency_build: |
180 | | - ((.locations[0].physicalLocation.artifactLocation.uri? // "") | test("^apps/macos/\\.build/")); |
| 180 | + ((.locations // []) | length > 0) |
| 181 | + and all(.locations[]; (.physicalLocation.artifactLocation.uri? // "") | test("^apps/macos/\\.build/")); |
181 | 182 | |
182 | 183 | .runs |= map(.results = ((.results // []) | map(select(in_dependency_build | not)))) |
183 | 184 | ' "$file" > "sarif-results-filtered/$(basename "$file")" |
|
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。