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

Function BuildFunctionCall

pkg/workflow/expression_builder.go:331–333  ·  view source on GitHub ↗

BuildFunctionCall creates a function call node

(functionName string, args ...ConditionNode)

Source from the content-addressed store, hash-verified

329
330// BuildFunctionCall creates a function call node
331func BuildFunctionCall(functionName string, args ...ConditionNode) *FunctionCallNode {
332 return &FunctionCallNode{FunctionName: functionName, Arguments: args}
333}
334
335// BuildNotFromFork creates a condition to check that a pull request is not from a forked repository
336// This prevents the job from running on forked PRs where write permissions are not available

Calls

no outgoing calls

Tested by 2

TestHelperFunctionsFunction · 0.68