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

Function trialRepositoryURL

pkg/cli/trial_repository.go:28–30  ·  view source on GitHub ↗
(repoSlug string)

Source from the content-addressed store, hash-verified

26var checkoutActionPattern = regexp.MustCompile(`^(\s*)(uses: actions/checkout@[^\s]*)(.*)$`)
27
28func trialRepositoryURL(repoSlug string) string {
29 return fmt.Sprintf("%s/%s", getGitHubHost(), repoSlug)
30}
31
32func trialRepositoryGitURL(repoSlug string) string {
33 return trialRepositoryURL(repoSlug) + ".git"

Callers 4

trialRepositoryGitURLFunction · 0.85
ensureTrialRepositoryFunction · 0.85

Calls 1

getGitHubHostFunction · 0.85

Tested by 1