Brakeman is a static analysis tool which checks Ruby on Rails applications for security vulnerabilities. See more
- name: Brakeman
uses: devmasx/[email protected]
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
- 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
- name: Brakeman
uses: devmasx/[email protected]
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
PROJECT_PATH: my_rails_app
name: Brakeman
on: [push]
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v1
- name: Brakeman
uses: devmasx/[email protected]
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}