2023-07-11 22:23:57 +09:00
|
|
|
name: Bundler Audit
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches-ignore:
|
|
|
|
- 'dependabot/**'
|
|
|
|
paths:
|
|
|
|
- 'Gemfile*'
|
|
|
|
- '.ruby-version'
|
|
|
|
- '.bundler-audit.yml'
|
|
|
|
- '.github/workflows/bundler-audit.yml'
|
|
|
|
|
|
|
|
pull_request:
|
|
|
|
paths:
|
|
|
|
- 'Gemfile*'
|
|
|
|
- '.ruby-version'
|
|
|
|
- '.bundler-audit.yml'
|
|
|
|
- '.github/workflows/bundler-audit.yml'
|
|
|
|
|
|
|
|
schedule:
|
|
|
|
- cron: '0 5 * * 1'
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
security:
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
|
|
|
|
steps:
|
|
|
|
- name: Clone repository
|
2023-09-11 17:41:26 +09:00
|
|
|
uses: actions/checkout@v4
|
2023-07-11 22:23:57 +09:00
|
|
|
|
2023-10-24 20:43:24 +09:00
|
|
|
- name: Set up Ruby environment
|
|
|
|
uses: ./.github/actions/setup-ruby
|
2023-07-11 22:23:57 +09:00
|
|
|
|
|
|
|
- name: Run bundler-audit
|
|
|
|
run: bundle exec bundler-audit
|