Brakeman Scan #16
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 | |