Skip to content

Merge pull request #25 from fabianoflorentino/development #90

Merge pull request #25 from fabianoflorentino/development

Merge pull request #25 from fabianoflorentino/development #90

Workflow file for this run

---
name: Brakeman
on:
push:
branches:
- main
- development
paths-ignore:
- 'README.md'
- 'LICENSE'
- 'docs/**'
- '.github/**'
pull_request:
branches:
- main
- development
paths-ignore:
- 'README.md'
- 'LICENSE'
- 'docs/**'
- '.github/**'
jobs:
brakeman:
name: Brakeman Security Scan
runs-on: ubuntu-latest
permissions:
contents: read
pull-requests: read
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Dependences
run: |
sudo apt-get update -y
sudo apt-get install -y libpq-dev postgresql-client build-essential libssl-dev
- name: Set up Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: 3.2.3
- name: Bundle Install
run: bundle install
- name: Brakeman Security Scan
run: brakeman -z -o brakeman-output.json
- name: Upload Brakeman Report
uses: actions/upload-artifact@v2
with:
name: brakeman-report
path: brakeman-output.json