bento
bento copied to clipboard
Check to detect files that match a pattern
Is your feature request related to a problem? Please describe.
A user wants to detect when files that match a certain pattern (e.g. .../security/...) have changed in the last commit, to flag these files for manual review.
Describe the solution you’d like Maybe we can just add a check that fires on a filename. Then if that file is staged, it will yield a Bento result.
Perhaps something like?
- pattern-file-path-matches: '*Controller.java'
- pattern-file-path-not-matches: '*Test*'