2023-07-11 23:23:57 +10: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 23:23:32 +10:00
|
|
|
env:
|
|
|
|
BUNDLE_ONLY: development
|
|
|
|
|
2023-07-11 23:23:57 +10:00
|
|
|
steps:
|
|
|
|
- name: Clone repository
|
2023-09-11 18:41:26 +10:00
|
|
|
uses: actions/checkout@v4
|
2023-07-11 23:23:57 +10:00
|
|
|
|
2024-06-13 23:23:32 +10:00
|
|
|
- name: Set up Ruby
|
|
|
|
uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
|
|
|
bundler-cache: true
|
2023-07-11 23:23:57 +10:00
|
|
|
|
|
|
|
- name: Run bundler-audit
|
2024-06-12 21:39:16 +10:00
|
|
|
run: bundle exec bundler-audit check --update
|