Skip to content

Commit 5cd66b3

Browse files
authored
Merge pull request rails#50647 from igor-alexandrov/stricter_brakeman
Made Brakeman CI config stricter
2 parents c5949ab + 34aca28 commit 5cd66b3

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
require "rubygems"
22
require "bundler/setup"
33

4+
ARGV.unshift("--ensure-latest")
5+
46
load Gem.bin_path("brakeman", "brakeman")

railties/lib/rails/generators/rails/app/templates/github/ci.yml.tt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
bundler-cache: true
2222

2323
- name: Scan for security vulnerabilities in Ruby dependencies
24-
run: bin/brakeman
24+
run: bin/brakeman --no-pager
2525
<% end -%>
2626
<%- if options[:javascript] == "importmap" -%>
2727

0 commit comments

Comments
 (0)