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

Method IsAction

pkg/workflow/action_mode.go:55–57  ·  view source on GitHub ↗

IsAction returns true if the action mode is action mode (uses github/gh-aw-actions repo)

()

Source from the content-addressed store, hash-verified

53
54// IsAction returns true if the action mode is action mode (uses github/gh-aw-actions repo)
55func (m ActionMode) IsAction() bool {
56 return m == ActionModeAction
57}
58
59// UsesExternalActions returns true (always true since inline mode was removed)
60func (m ActionMode) UsesExternalActions() bool {

Calls

no outgoing calls

Tested by 1

TestActionModeIsActionFunction · 0.64