filterWorkflowFiles filters out non-workflow files from a list of markdown files.
(files []string)
| 272 | |
| 273 | // filterWorkflowFiles filters out non-workflow files from a list of markdown files. |
| 274 | func filterWorkflowFiles(files []string) []string { |
| 275 | return sliceutil.Filter(files, isWorkflowFile) |
| 276 | } |
| 277 | |
| 278 | // getMarkdownWorkflowFiles discovers markdown workflow files in the specified directory |
| 279 | func getMarkdownWorkflowFiles(workflowDir string) ([]string, error) { |