macchiang / brakeman-action

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Brakeman Action

A Github action to run brakeman.

Usage

Create Github workflow definition yaml file in .github/workflows directory of your repository.

Input parameters

This action can be configured by the following input parameters.

name require default description
path false '.' Relative path to scan.
options false '--no-progress --no-exit-on-warn --no-exit-on-error --color -o /dev/stdout -o ${GITHUB_WORKSPACE}/brakeman_results.html' Additional options.

see brakeman options.

For running the runner

The followoing yaml is a simplest workflow difinition of using brakeman-action.

name: Brakeman
on:
  pull_request:
    types: [opened, synchronize]
jobs:
  Brakeman:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
        with:
          fetch-depth: 0
      # Ruby 3
      - uses: macchiang/brakeman-action@v3

LICENSE

MIT

About

License:MIT License


Languages

Language:Shell 44.9%Language:Dockerfile 42.2%Language:Ruby 12.9%