in internal/changelog/builder.go [170:182]
func collectFragment(fs afero.Fs, path string, info os.FileInfo, err error, files *[]string) error {
if info, err := fs.Stat(path); err == nil && !info.IsDir() {
if filepath.Ext(path) == ".yaml" {
*files = append(*files, path)
} else {
log.Printf("skipping %s (not a YAML file)", path)
}
} else {
return err
}
return nil
}