Commit 744f8ad
fix: rewrite StepAction generator with pyyaml
The text-based generator broke when tkn task sign mangled the Task
YAML (reordered fields, changed indentation, stripped quotes). The
new generator uses pyyaml to properly parse the Task structure and
produce clean, valid StepAction YAML regardless of input formatting.
Falls back to uv tool run --with pyyaml if pyyaml isn't installed.
Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Vincent Demeester <vdemeest@redhat.com>1 parent bd41a2c commit 744f8ad
3 files changed
Lines changed: 269 additions & 278 deletions
0 commit comments