🐛 Bug Report: Scaffolder template - If statement in output spec no applied #24805
Labels
area:scaffolder
Everything and all things related to the scaffolder project area
enhancement
New feature or request
📜 Description
In the
output
field of the templatespec
,if
statement are not applied:With the above spec, the link is always displayed even if CI is not equal to
Yes
👍 Expected behavior
THe
if
statement should be matched and thelink
should only be applied/displayed if the condition matches👎 Actual Behavior with Screenshots
The
link
is displayed no matter if the condition is matched.👟 Reproduction steps
Create a template with the following or similar
output
spec:📃 Provide the context for the Bug.
No response
🖥️ Your Environment
No response
👀 Have you spent some time to check if this bug has been raised before?
🏢 Have you read the Code of Conduct?
Are you willing to submit PR?
None
The text was updated successfully, but these errors were encountered: