(path: string)
| 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); |
| 24 | |
| 25 | export function fileKind(path: string): string | undefined { |
| 26 | const name = path.split('/').pop() ?? path; |
no outgoing calls
no test coverage detected