Skip to content

Merge commit '01cc0f1b0a5988a27b9dc153d577101b2aafa7f3' #28

Merge commit '01cc0f1b0a5988a27b9dc153d577101b2aafa7f3'

Merge commit '01cc0f1b0a5988a27b9dc153d577101b2aafa7f3' #28

# This workflow integrates Brakeman with GitHub's Code Scanning feature
# Brakeman is a static analysis security vulnerability scanner for Ruby on Rails applications
name: Brakeman Scan
on:
push:
branches: [ master ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ]
schedule:
- cron: '25 2 * * 6'
jobs:
brakeman-scan:
name: Brakeman Scan
runs-on: ubuntu-latest
steps:
# Checkout the repository to the GitHub Actions runner
- name: Checkout
uses: actions/checkout@v4
# Customize the ruby version depending on your needs
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: '3.0'
- name: Run brakeman with reviewdog
uses: reviewdog/[email protected]
# env:
# GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
with:
reporter: github-pr-review