mirror of
https://github.com/mastodon/mastodon.git
synced 2026-05-09 04:22:42 -05:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Claire <claire.github-309c@sitedethib.com>
40 lines
782 B
YAML
40 lines
782 B
YAML
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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
|
|
|
|
- name: Set up Ruby
|
|
uses: ruby/setup-ruby@94e4d89d3e6c1c7599e0210d114c5ffb23f1a866 # v1
|
|
with:
|
|
bundler-cache: true
|
|
|
|
- name: Run bundler-audit
|
|
run: bin/bundler-audit check --update
|