fjogeleit / yaml-update-action

Update YAML property with dynamic values

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

single quote are stripped away.

hooray4me opened this issue · comments

commented

Using fjogeleit/yaml-update-action@v0.13.1

I need single quotes around this value. I have tried every combination I can think of to get this to work.

propertyPath: 'spec.source.helm.parameters[3].value'
value: '${{ env.fullVersion }}'
createPR: false
quotingType: "'"

I want this result:

- name: deployment.containers.tag
  value: '2023.09.61-dev'

but I get:

- name: deployment.containers.tag
  value: 2023.09.61-dev

How can I get single quotes to stick with the value?

commented

I was able to negate the need for single quotes by predicating with variable with the letter v. :)