Skip to content

Commit

Permalink
new way for brakeman, trying to make bearer will not kill the build
Browse files Browse the repository at this point in the history
  • Loading branch information
polographer committed May 30, 2024
1 parent ec49b72 commit f628409
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 14 deletions.
32 changes: 18 additions & 14 deletions .github/workflows/security-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,21 +35,25 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: ruby/setup-ruby@v1
- uses: artplan1/brakeman-action@v1.2.1
with:
bundler-cache: true
- name: install brakeman
run: |
gem install brakeman
- name: run brakeman
run: |
brakeman --format html --output brakeman.html
- name: upload brakeman failure report
uses: actions/upload-artifact@v3
if: failure()
with:
name: Security Reports
path: brakeman.html
flags: "--color"

# - uses: ruby/setup-ruby@v1
# with:
# bundler-cache: true
# - name: install brakeman
# run: |
# gem install brakeman
# - name: run brakeman
# run: |
# brakeman --format html --output brakeman.html
# - name: upload brakeman failure report
# uses: actions/upload-artifact@v3
# if: failure()
# with:
# name: Security Reports
# path: brakeman.html
bundler-audit:
runs-on: ubuntu-latest
steps:
Expand Down
1 change: 1 addition & 0 deletions bearer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ disable-version-check: false
log-level: info
report:
# fail-on-severity: critical,high,medium,low
fail-on-severity: ""
format: ""
no-color: false
output: ""
Expand Down

0 comments on commit f628409

Please sign in to comment.