bundler-audit.yml 686 B

12345678910111213141516171819202122232425262728293031323334353637
  1. name: Bundler Audit
  2. on:
  3. push:
  4. branches-ignore:
  5. - 'dependabot/**'
  6. paths:
  7. - 'Gemfile*'
  8. - '.ruby-version'
  9. - '.github/workflows/bundler-audit.yml'
  10. pull_request:
  11. paths:
  12. - 'Gemfile*'
  13. - '.ruby-version'
  14. - '.github/workflows/bundler-audit.yml'
  15. schedule:
  16. - cron: '0 5 * * 1'
  17. jobs:
  18. security:
  19. runs-on: ubuntu-latest
  20. env:
  21. BUNDLE_ONLY: development
  22. steps:
  23. - name: Clone repository
  24. uses: actions/checkout@v4
  25. - name: Set up Ruby
  26. uses: ruby/setup-ruby@v1
  27. with:
  28. bundler-cache: true
  29. - name: Run bundler-audit
  30. run: bundle exec bundler-audit check --update