// onlyDocs returns whether the ChangedFiles are only documentation.
onlyDocs returns whether the ChangedFiles are only documentation.
// onlyDocs returns whether the ChangedFiles are only documentation .
func (c ChangedFiles) onlyDocs() bool {
	for _, p := range c {
		if !strings.HasPrefix(p, "doc/") && p != "CHANGELOG.md" {
			return false
		}
	}
	return true
}
func ( c ChangedFiles ) onlyDocs ( ) bool { for _ , p := range c { if ! strings . HasPrefix ( p , " " ) && p != " " { return false } } return true }
onlyDocs returns whether the ChangedFiles are only documentation.
onlyDocs returns whether the ChangedFiles are only documentation .