Skip to content

Commit

Permalink
Add brakeman for security analysis (#161)
Browse files Browse the repository at this point in the history
  • Loading branch information
that-jill authored May 29, 2024
1 parent 521c993 commit b5dfa4b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Automated Code Reviews
on: [pull_request]

jobs:
brakeman:
name: Security Analysis
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Set up Ruby
uses: ruby/setup-ruby@v1
- name: Brakeman
uses: reviewdog/action-brakeman@v2
with:
brakeman_version: gemfile
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ group :development do
gem "spring-commands-rspec"
gem "spring-watcher-listen", "~> 2.1.0"
gem "web-console", ">= 3.3.0"
gem "brakeman"
end

group :development, :test do
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,8 @@ GEM
bindex (0.8.1)
bootsnap (1.18.3)
msgpack (~> 1.2)
brakeman (6.1.2)
racc
builder (3.2.4)
byebug (11.1.3)
capybara (3.39.0)
Expand Down Expand Up @@ -287,6 +289,7 @@ PLATFORMS
DEPENDENCIES
awesome_print
bootsnap (>= 1.1.0)
brakeman
capybara-selenium
coffee-rails (~> 5.0)
dotenv-rails
Expand Down

0 comments on commit b5dfa4b

Please sign in to comment.