diff --git a/.github/workflows/tech_radar.yml b/.github/workflows/tech_radar.yml index 1fc866f..66b6ce1 100644 --- a/.github/workflows/tech_radar.yml +++ b/.github/workflows/tech_radar.yml @@ -57,7 +57,8 @@ jobs: -H "Accept: application/vnd.github+json" \ -H "X-GitHub-Api-Version: 2022-11-28" \ /repos/$name/dependency-graph/sbom \ - --jq '[ .sbom.packages.[] | { name: .name | sub("[a-zA-Z.]+[:/](?.*)"; "\(.package)"), packageManager: .name | capture("(?[a-zA-Z.]+)[:/]").packageManager, version: .versionInfo } ] | reduce .[] as { $name, $packageManager, $version } ( {}; .[ $packageManager ] += [ $name + " v" + $version ] )' + --jq '[ .sbom.packages.[] | { name: .name | sub("[a-zA-Z.]+[:/](?.*)"; "\(.package)"), packageManager: .name | capture("(?[a-zA-Z.]+)[:/]").packageManager, version: .versionInfo } ] | reduce .[] as { $name, $packageManager, $version } ( {}; .[ $packageManager ] += [ $name + " v" + $version ] )' \ + 2>/dev/null ) # Extract the list of package managers