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)
| 1028 | // ListWorkflowFiles lists workflow files from a remote GitHub repository |
| 1029 | // Returns a list of .md files in the specified directory (excluding subdirectories) |
| 1030 | func 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. |
no test coverage detected