Skip to content

Convert Shrine files to ActiveStorage #389

Convert Shrine files to ActiveStorage

Convert Shrine files to ActiveStorage #389

Workflow file for this run

name: Brakeman Scan
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
brakeman-scan:
name: Brakeman Scan
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.3.1'
- name: Setup Brakeman
env:
BRAKEMAN_VERSION: '5.4.0'
run: |
gem install brakeman --version $BRAKEMAN_VERSION
- name: Scan
continue-on-error: true
run: |
brakeman -f sarif -o output.sarif.json .
- name: Upload SARIF
uses: github/codeql-action/upload-sarif@v2
with:
sarif_file: output.sarif.json