File tree Expand file tree Collapse file tree 1 file changed +20
-2
lines changed
railties/lib/rails/generators/rails/app/templates/github Expand file tree Collapse file tree 1 file changed +20
-2
lines changed Original file line number Diff line number Diff line change 8
8
9
9
jobs:
10
10
<%- unless skip_brakeman? -%>
11
- scan :
11
+ scan_ruby :
12
12
runs-on: ubuntu-latest
13
13
14
14
steps:
21
21
ruby-version: .ruby-version
22
22
bundler-cache: true
23
23
24
- - name: Scan for security vulnerabilities
24
+ - name: Scan for security vulnerabilities in Ruby Dependencies
25
25
run: bin/brakeman
26
26
<% end -%>
27
+ <%- if options[:javascript] == "importmap" -%>
28
+
29
+ scan_js:
30
+ runs-on: ubuntu-latest
31
+
32
+ steps:
33
+ - name: Checkout code
34
+ uses: actions/checkout@v4
35
+
36
+ - name: Set up Ruby
37
+ uses: ruby/setup-ruby@v1
38
+ with:
39
+ ruby-version: .ruby-version
40
+ bundler-cache: true
41
+
42
+ - name: Scan for security vulnerabilities in Javascript Dependencies
43
+ run: bin/importmap audit
44
+ <% end -%>
27
45
<%- unless skip_rubocop? -%>
28
46
29
47
lint:
You can’t perform that action at this time.
0 commit comments