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

Function ListWorkflowFiles

pkg/parser/remote_fetch.go:1030–1032  ·  view source on GitHub ↗

ListWorkflowFiles lists workflow files from a remote GitHub repository Returns a list of .md files in the specified directory (excluding subdirectories)

(owner, repo, ref, workflowPath string)

Source from the content-addressed store, hash-verified

1028// ListWorkflowFiles lists workflow files from a remote GitHub repository
1029// Returns a list of .md files in the specified directory (excluding subdirectories)
1030func ListWorkflowFiles(owner, repo, ref, workflowPath string) ([]string, error) {
1031 return listWorkflowFilesForHost(owner, repo, ref, workflowPath, "")
1032}
1033
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.

Callers 1

getRemoteWorkflowFilesFunction · 0.92

Calls 1

listWorkflowFilesForHostFunction · 0.85

Tested by

no test coverage detected