buildTemplatableBoolEnvVar returns a YAML environment variable entry for a templatable boolean field. If value is a GitHub Actions expression it is embedded unquoted so that GitHub Actions can evaluate it at runtime; otherwise the literal string is quoted. Returns nil if value is nil.
(envVarName string, value *string)
| 262 | // embedded unquoted so that GitHub Actions can evaluate it at runtime; |
| 263 | // otherwise the literal string is quoted. Returns nil if value is nil. |
| 264 | func buildTemplatableBoolEnvVar(envVarName string, value *string) []string { |
| 265 | return buildTemplatableEnvVar(envVarName, value) |
| 266 | } |
| 267 | |
| 268 | // AddTemplatableBool adds a templatable boolean field to the handler config. |
| 269 | // |
no test coverage detected