(path: string)
| 18 | |
| 19 | /** Configuration, data and text files: what they say is read from them, not guessed by a model (K12). */ |
| 20 | export const isDataFile = (path: string): boolean => /not program code/.test(fileKind(path) ?? ''); |
| 21 | |
| 22 | /** A GitHub Actions workflow, by where GitHub reads it from. */ |
| 23 | export const isGithubWorkflow = (path: string): boolean => /(?:^|\/)\.github\/workflows\/[^/]+\.ya?ml$/i.test(path); |
no test coverage detected