bento icon indicating copy to clipboard operation
bento copied to clipboard

Check to detect files that match a pattern

Open nbrahms opened this issue 5 years ago • 1 comments

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.

nbrahms avatar Apr 24 '20 21:04 nbrahms

Perhaps something like?

- pattern-file-path-matches: '*Controller.java'
- pattern-file-path-not-matches: '*Test*'

clintgibler avatar May 06 '20 20:05 clintgibler