Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/github/gh-aw
/ formatStepEnvValueForYAML
Function
formatStepEnvValueForYAML
pkg/workflow/compiler_yaml_step_conversion.go:210–216 ·
view source on GitHub ↗
(value any)
Source
from the content-addressed store, hash-verified
208
}
209
210
func
formatStepEnvValueForYAML(value any) string {
211
strValue, ok := value.(string)
212
if
!ok {
213
return
fmt.Sprint(value)
214
}
215
return
yamlStringValue(strValue)
216
}
Callers
1
renderStepFromMap
Method · 0.85
Calls
1
yamlStringValue
Function · 0.85
Tested by
no test coverage detected