You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
39 lines
696 B
39 lines
696 B
name: Bundler Audit |
|
on: |
|
merge_group: |
|
push: |
|
branches: |
|
- 'main' |
|
- 'stable-*' |
|
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 |
|
|
|
env: |
|
BUNDLE_ONLY: development |
|
|
|
steps: |
|
- name: Clone repository |
|
uses: actions/checkout@v4 |
|
|
|
- name: Set up Ruby |
|
uses: ruby/setup-ruby@v1 |
|
with: |
|
bundler-cache: true |
|
|
|
- name: Run bundler-audit |
|
run: bin/bundler-audit check --update
|
|
|