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

Function BuildAnd

pkg/workflow/expression_builder.go:62–65  ·  view source on GitHub ↗

BuildAnd creates an AND node combining two conditions

(left ConditionNode, right ConditionNode)

Source from the content-addressed store, hash-verified

60
61// BuildAnd creates an AND node combining two conditions
62func BuildAnd(left ConditionNode, right ConditionNode) ConditionNode {
63 expressionBuilderLog.Print("Building AND condition node")
64 return &AndNode{Left: left, Right: right}
65}
66
67// BuildReactionConditionForTargets creates a condition tree for reactions scoped to target groups.
68func BuildReactionConditionForTargets(includeIssues bool, includePullRequests bool, includeDiscussions bool, includeWorkflowDispatch bool) ConditionNode {

Calls 1

PrintMethod · 0.80

Tested by

no test coverage detected