MCPcopy Create free account
hub / github.com/github/gh-aw / extractMDWorkflowCallInputs

Function extractMDWorkflowCallInputs

pkg/workflow/call_workflow_validation.go:147–149  ·  view source on GitHub ↗

extractMDWorkflowCallInputs reads a .md workflow file's frontmatter and extracts the workflow_call inputs schema, mirroring extractWorkflowCallInputs for .md sources.

(mdPath string)

Source from the content-addressed store, hash-verified

145// extractMDWorkflowCallInputs reads a .md workflow file's frontmatter and extracts
146// the workflow_call inputs schema, mirroring extractWorkflowCallInputs for .md sources.
147func extractMDWorkflowCallInputs(mdPath string) (map[string]any, error) {
148 return extractInputsFromMarkdown(mdPath, "workflow_call")
149}
150
151// mdHasWorkflowCall reads a .md workflow file's frontmatter and reports whether
152// the workflow includes a workflow_call trigger in its 'on:' section.

Callers 2

buildCallWorkflowJobsMethod · 0.85
generateDynamicToolsFunction · 0.85

Calls 1

Tested by

no test coverage detected