Skip to content

Commit f5d4422

Browse files
committed
Do not create scan_js workflow for API-only apps rails#52900
1 parent 435a693 commit f5d4422

File tree

1 file changed

+1
-1
lines changed
  • railties/lib/rails/generators/rails/app/templates/github

1 file changed

+1
-1
lines changed

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
@@ -24,7 +24,7 @@ jobs:
2424
run: bin/brakeman --no-pager
2525

2626
<% end -%>
27-
<%- if options[:javascript] == "importmap" -%>
27+
<%- if options[:javascript] == "importmap" && !options[:api] -%>
2828
scan_js:
2929
runs-on: ubuntu-latest
3030

0 commit comments

Comments
 (0)