carvel-dev / carvel-dev/ytt

Stop supporting optional `tag:yaml.org,2002:bool` to ease adoption for GitHub Actions Workflow templating

Open
#407 7 comments 3 reactions 0 assignees View on GitHub
enhancement priority/unprioritized-backlog recommended surprising to users
Dominant language
Go
Stars
1.9k
Forks
167
PR merge metrics
No merged PRs in 30d

Description

**What steps did you take:**
Using `on: ` in a yaml file

**What happened:**
The `on: ` was replaced with `true: `

**What did you expect:**
As `on: ` is a valid field it should not have been converted to true

**Anything else you would like to add:**
This is very strange and impacts the ability to create templates for github actions.

**Environment:**

- `0.33.0`

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the reported `on:` to `true:` conversion with ytt 0.33.0 and compare it with current behavior. No source file or test is identified in the issue; done means GitHub Actions-style `on:` fields remain unchanged while other boolean handling continues to work.

Written by the indexing model from the issue text.

Assessment

Tech stack
go, yaml
Domain
cli, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.