Skip to content

Runs bundle-audit on pull requests with Gemfile.lock changes and fails the check if vulnerabilities are found.

License

Notifications You must be signed in to change notification settings

planningcenter/bundle-audit-check-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Bundle Audit Check Action

This is a GitHub action that runs bundle-audit check --update, and then, if vulnerabilities are detected, fail the current check. It's recommended to run it when a PR is modified and contains changes to Gemfile.lock.

Example usage

name: PR Bundler Audit

on:
  pull_request:
    types: [opened, synchronize]
    paths:
      - 'Gemfile.lock'

jobs:
  bundle-audit:
    runs-on: ubuntu-latest

    steps:
      - name: Run PR Bundle Audit Action
        uses: planningcenter/bundle-audit-check-action@v1

About

Runs bundle-audit on pull requests with Gemfile.lock changes and fails the check if vulnerabilities are found.

Resources

License

Stars

Watchers

Forks

Packages

No packages published