open-component-model / ocm

Open Component Model (Software Bill of Delivery Toolset)
https://ocm.software
Apache License 2.0
29 stars 18 forks source link

(redo)Only re-encode subst value if it smells like json and target doc is yaml #796

Closed dee0sap closed 1 month ago

dee0sap commented 1 month ago

Description

This is just a redo of https://github.com/open-component-model/ocm/pull/785 . Somehow the changes were lost from git.

Please include a summary of the changes and the related issue. Please also include relevant motivation and context. List any dependencies that are required for this change.

What type of PR is this? (check all applicable)

Related Tickets & Documents

Screenshots

Added tests?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

Added to documentation?

Checklist: