Skip to content

build(deps): bump actions/checkout from 3 to 4 #1192

build(deps): bump actions/checkout from 3 to 4

build(deps): bump actions/checkout from 3 to 4 #1192

name: Brakeman Scan
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
brakeman-scan:
name: Brakeman Scan
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Ruby 3.1.2
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.1.2
bundler-cache: true
- name: Scan
continue-on-error: true
run: bundle exec brakeman -f sarif -o brakeman.sarif.json .
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: brakeman.sarif.json