normalizeWorkflowWith
normalizeWorkflowWith(
raw):Record<string,unknown>
Defined in: cli/astromech/src/generators/github-action-thin-callers/github-action-thin-callers.ts:342
Expand structured with-values to flat GitHub Actions inputs before generating the thin caller. Handles:
- deploy shorthand: docs/storybook → type + storybook-projects
- preview: stripped (handled separately via extractPreviewConfig)
- chromatic-projects entries’ untraced array → newline-joined string
- plain arrays → JSON-stringified for YAML scalar quoting
Used by both holocron setup and sync-workflow-templates.
Parameters
Section titled “Parameters”Record<string, unknown>
Returns
Section titled “Returns”Record<string, unknown>