Skip to content
check-square

GitHub Action

Brakeman linter

v1.0.0 Latest version

Brakeman linter

check-square

Brakeman linter

A GitHub Action that lints your Ruby code with Brakeman

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Brakeman linter

uses: devmasx/[email protected]

Learn more about this action in devmasx/brakeman-linter-action

Choose a version

Brakeman github action

Brakeman is a static analysis tool which checks Ruby on Rails applications for security vulnerabilities. See more

Usage

- name: Brakeman
  uses: devmasx/[email protected]
  env:
    GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Custom report

- name: Install gems
  run: |
    gem install brakeman -v 4.5.0
- name: brakeman report
  run: |
    brakeman -f json > tmp/brakeman.json || exit 0
- name: Brakeman
  uses: devmasx/[email protected]
  env:
    GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
    REPORT_PATH: tmp/brakeman.json