Skip to content

Commit

Permalink
Add bundler-audit GitHub Action (#25)
Browse files Browse the repository at this point in the history
This enabled to trigger `bundler-audit` in a Github Action for the
following activity types:
- PR is opened
- PR has a new commit
- Closed PR is opened again

About `bundler-audit`: https://github.com/rubysec/bundler-audit
  • Loading branch information
rhannequin committed Mar 3, 2024
1 parent b34c9ad commit fd2443d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/bundle-audit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Bundler Audit
on:
push:
branches:
- "main"
pull_request:
types: [opened, synchronize, reopened]

jobs:
audit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: "Bundler Audit"
uses: thoughtbot/bundler-audit-action@main
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit fd2443d

Please sign in to comment.