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

Function getCachedActionPin

pkg/workflow/action_pins.go:217–219  ·  view source on GitHub ↗

getCachedActionPin returns the pinned action reference for a given repository, preferring the dynamic resolver from WorkflowData over the embedded pins.

(repo string, data *WorkflowData)

Source from the content-addressed store, hash-verified

215// getCachedActionPin returns the pinned action reference for a given repository,
216// preferring the dynamic resolver from WorkflowData over the embedded pins.
217func getCachedActionPin(repo string, data *WorkflowData) string {
218 return actionpins.ResolveLatestActionPin(repo, data.PinContext())
219}
220
221// --------------------------------------------------------------------------
222// Step-level helpers that depend on WorkflowStep (stay in pkg/workflow)

Calls 2

ResolveLatestActionPinFunction · 0.92
PinContextMethod · 0.80

Tested by 1

latestPinnedUsesForRepoFunction · 0.68