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)
| 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. |
| 1036 | func ListWorkflowFilesForHost(owner, repo, ref, workflowPath, host string) ([]string, error) { |
| 1037 | return listWorkflowFilesForHost(owner, repo, ref, workflowPath, host) |
| 1038 | } |
| 1039 | |
| 1040 | func 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) |
no test coverage detected