Patch rails to version 7.2.2.1 #1384
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Security | |
on: | |
pull_request: | |
push: | |
branches: [main] | |
jobs: | |
bundler-audit: | |
# Patch-level verifications for Bundler | |
# https://github.com/rubysec/bundler-audit | |
name: bundler-audit | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Run bundler-audit | |
run: bundle exec bundler-audit --update | |
brakeman: | |
# Static analysis security vulnerability scanner for Ruby on Rails | |
# https://github.com/presidentbeef/brakeman | |
name: brakeman | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
with: | |
bundler-cache: true | |
- name: Run bundler-audit | |
run: bundle exec brakeman -q |