Skip to content

Commit

Permalink
Update dependanot.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
morganrowse authored Sep 18, 2024
1 parent 0e6dfc0 commit b0ffa48
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/dependanot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,9 @@ jobs:
jq '.resource.helm_release | with_entries(select(.value | map(select(.chart | test("^[^.\\$]"))) | length > 0))' out.json > filtered.json
rm out.json
jq 'map_values(. |= { "kind": "helmchart", "spec": { "url": .[0].repository, "name": .[0].chart } })' filtered.json > sources.json
jq 'map_values(. |= { "kind": "helmchart", "spec": { "url": .[0].repository, "name": .[0].chart } })' filtered.json > pre-sources.json
jq 'if .karpenter then .karpenter.spec.versionFilter = {"kind": "semver", "pattern": "<9999"} else . end' pre-sources.json > sources.json
rm pre-sources.json
jq 'to_entries | map({(.key): { "name": .key, "kind": "hcl", "sourceid": .key, "scmid": "default", "spec": { "file": "variables.tf", "path": ("locals." + .key + "_chart_version") } }}) | add' filtered.json > targets.json
rm filtered.json
Expand Down

0 comments on commit b0ffa48

Please sign in to comment.