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

Function formatActionReference

pkg/workflow/action_pins.go:39–41  ·  view source on GitHub ↗

-------------------------------------------------------------------------- Package-private helpers used throughout pkg/workflow -------------------------------------------------------------------------- formatActionReference formats an action reference with repo, SHA, and version.

(repo, sha, version string)

Source from the content-addressed store, hash-verified

37
38// formatActionReference formats an action reference with repo, SHA, and version.
39func formatActionReference(repo, sha, version string) string {
40 return actionpins.FormatPinnedActionReference(repo, sha, version)
41}
42
43// formatActionCacheKey generates a cache key for action resolution.
44func formatActionCacheKey(repo, version string) string {

Callers 3

tryResolveSetupSHAFunction · 0.85
resolveActionRefFunction · 0.85

Calls 1

Tested by 1