MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / getAutoIncludeWorkflows

Function getAutoIncludeWorkflows

src/visibility/exposure.ts:121–128  ·  view source on GitHub ↗
(
  workflows: WorkflowManifestEntry[],
  ctx: PredicateContext,
)

Source from the content-addressed store, hash-verified

119 * Get auto-include workflows (included when their predicates pass).
120 */
121export function getAutoIncludeWorkflows(
122 workflows: WorkflowManifestEntry[],
123 ctx: PredicateContext,
124): WorkflowManifestEntry[] {
125 return workflows.filter(
126 (wf) => wf.selection?.mcp?.autoInclude === true && isWorkflowEnabledForRuntime(wf, ctx),
127 );
128}
129
130/**
131 * Check if a resource is available for the current runtime.

Callers 2

exposure.test.tsFile · 0.90
selectWorkflowsForMcpFunction · 0.85

Calls 1

Tested by

no test coverage detected