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

Function BuildPropertyAccess

pkg/workflow/expression_builder.go:296–298  ·  view source on GitHub ↗

Helper functions for building common GitHub Actions expression patterns BuildPropertyAccess creates a property access node for GitHub context properties

(path string)

Source from the content-addressed store, hash-verified

294
295// BuildPropertyAccess creates a property access node for GitHub context properties
296func BuildPropertyAccess(path string) *PropertyAccessNode {
297 return &PropertyAccessNode{PropertyPath: path}
298}
299
300// BuildStringLiteral creates a string literal node
301func BuildStringLiteral(value string) *StringLiteralNode {

Calls

no outgoing calls