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

Function ListWorkflowFilesForHost

pkg/parser/remote_fetch.go:1036–1038  ·  view source on GitHub ↗

ListWorkflowFilesForHost lists workflow files from a remote GitHub repository on an explicit host. Use this when the target repository is on a different host than the one configured via GH_HOST.

(owner, repo, ref, workflowPath, host string)

Source from the content-addressed store, hash-verified

1034// ListWorkflowFilesForHost lists workflow files from a remote GitHub repository on an explicit host.
1035// Use this when the target repository is on a different host than the one configured via GH_HOST.
1036func ListWorkflowFilesForHost(owner, repo, ref, workflowPath, host string) ([]string, error) {
1037 return listWorkflowFilesForHost(owner, repo, ref, workflowPath, host)
1038}
1039
1040func listWorkflowFilesForHost(owner, repo, ref, workflowPath, host string) ([]string, error) {
1041 remoteLog.Printf("Listing workflow files for %s/%s@%s (path: %s)", owner, repo, ref, workflowPath)

Calls 1

listWorkflowFilesForHostFunction · 0.85

Tested by

no test coverage detected