Skip to content

Commit

Permalink
Local brakeman
Browse files Browse the repository at this point in the history
  • Loading branch information
jbfeldis committed May 23, 2024
1 parent 4da398a commit b420b83
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/security.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@ jobs:
name: Brakeman (Static security)
if: "${{ github.actor != 'dependabot[bot]' }}"
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Ruby
uses: ruby/setup-ruby@v1

- name: Brakeman
uses: reviewdog/action-brakeman@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Run Brakeman
run: bundle exec brakeman -q w2
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ group :development do
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
gem "spring"
gem "spring-commands-rspec"
gem "brakeman"
end

group :test do
Expand Down
3 changes: 3 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,8 @@ GEM
bindex (0.8.1)
bootsnap (1.18.3)
msgpack (~> 1.2)
brakeman (6.1.2)
racc
builder (3.2.4)
capybara (3.40.0)
addressable
Expand Down Expand Up @@ -396,6 +398,7 @@ PLATFORMS

DEPENDENCIES
bootsnap
brakeman
capybara
config
debug
Expand Down

0 comments on commit b420b83

Please sign in to comment.