2023-07-11 06:23:57 -07:00
|
|
|
name: Bundler Audit
|
|
|
|
on:
|
2024-07-07 02:39:31 -07:00
|
|
|
merge_group:
|
2023-07-11 06:23:57 -07:00
|
|
|
push:
|
2024-07-07 02:39:31 -07:00
|
|
|
branches:
|
|
|
|
- 'main'
|
|
|
|
- 'stable-*'
|
2023-07-11 06:23:57 -07:00
|
|
|
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 06:23:32 -07:00
|
|
|
env:
|
|
|
|
BUNDLE_ONLY: development
|
|
|
|
|
2023-07-11 06:23:57 -07:00
|
|
|
steps:
|
|
|
|
- name: Clone repository
|
2023-09-11 01:41:26 -07:00
|
|
|
uses: actions/checkout@v4
|
2023-07-11 06:23:57 -07:00
|
|
|
|
2024-06-13 06:23:32 -07:00
|
|
|
- name: Set up Ruby
|
|
|
|
uses: ruby/setup-ruby@v1
|
|
|
|
with:
|
|
|
|
bundler-cache: true
|
2023-07-11 06:23:57 -07:00
|
|
|
|
|
|
|
- name: Run bundler-audit
|
2024-06-12 04:39:16 -07:00
|
|
|
run: bundle exec bundler-audit check --update
|