bundler-audit.yml 704 B

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