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

Function extractActionRepo

pkg/workflow/action_pins.go:49–51  ·  view source on GitHub ↗

extractActionRepo extracts the action repository from a uses string.

(uses string)

Source from the content-addressed store, hash-verified

47
48// extractActionRepo extracts the action repository from a uses string.
49func extractActionRepo(uses string) string {
50 return actionpins.ExtractRepo(uses)
51}
52
53// extractActionVersion extracts the version from a uses string.
54func extractActionVersion(uses string) string {

Callers 3

TestExtractActionRepoFunction · 0.85

Calls 1

ExtractRepoFunction · 0.92

Tested by 1

TestExtractActionRepoFunction · 0.68