2023-07-11 13:23:57 +00:00
|
|
|
name: Bundler Audit
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches-ignore:
|
|
|
|
- 'dependabot/**'
|
|
|
|
paths:
|
|
|
|
- 'Gemfile*'
|
|
|
|
- '.ruby-version'
|
|
|
|
- '.github/workflows/bundler-audit.yml'
|
|
|
|
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- 'Gemfile*'
|
|
|
|
- '.ruby-version'
|
|
|
|
- '.github/workflows/bundler-audit.yml'
|
|
|
|
|
|
|
|
schedule:
|
|
|
|
- cron: '0 5 * * 1'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
security:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
2024-06-13 13:23:32 +00:00
|
|
|
env:
|
|
|
|
BUNDLE_ONLY: development
|
|
|
|
|
2023-07-11 13:23:57 +00:00
|
|
|
steps:
|
|
|
|
- name: Clone repository
|
2023-09-11 08:41:26 +00:00
|
|
|
uses: actions/checkout@v4
|
2023-07-11 13:23:57 +00:00
|
|
|
|
2024-06-13 13:23:32 +00:00
|
|
|
- name: Set up Ruby
|
|
|
|
uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
|
|
|
bundler-cache: true
|
2023-07-11 13:23:57 +00:00
|
|
|
|
|
|
|
- name: Run bundler-audit
|
2024-06-12 11:39:16 +00:00
|
|
|
run: bundle exec bundler-audit check --update
|