Skip to content

Commit 8b5a877

Browse files
Include brakeman into pre-commit
- Ensure it is only run in manual stage without files passed   - This mirrors behaviour of bin/lint - Update workflow to also run manual hooks
1 parent 5d436f6 commit 8b5a877

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.pre-commit-config.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,10 @@ repos:
2121
entry: bin/bundle exec rufo
2222
language: system
2323
files: .erb$
24+
- id: brakeman
25+
name: Brakeman
26+
entry: bin/bundle exec brakeman --no-pager .
27+
language: system
28+
always_run: true
29+
pass_filenames: false
30+
stages: [manual]

0 commit comments

Comments
 (0)