nhattan / brakeman-linter-action

GitHub Action to run Rubocop against your code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brakeman github action

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

Usage

- name: Brakeman
  uses: nhattan/brakeman-linter-action@v2.0.0
  env:
    GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

Custom report

- name: Install gems
  run: |
    gem install brakeman -v 6.0.0
- name: brakeman report
  run: |
    brakeman -f json > tmp/brakeman.json || exit 0
- name: Brakeman
  uses: nhattan/brakeman-linter-action@v2.0.0
  env:
    GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
    REPORT_PATH: tmp/brakeman.json

About

GitHub Action to run Rubocop against your code.

License:MIT License


Languages

Language:Ruby 98.2%Language:Dockerfile 1.8%