mirror of
https://github.com/mastodon/mastodon.git
synced 2024-12-29 19:19:36 +01:00
3d0331fc7a
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
40 lines
835 B
YAML
40 lines
835 B
YAML
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
|
|
uses: actions/checkout@v4
|
|
|
|
- name: Install native Ruby dependencies
|
|
run: sudo apt-get install -y libicu-dev libidn11-dev
|
|
|
|
- name: Set up Ruby
|
|
uses: ruby/setup-ruby@v1
|
|
with:
|
|
ruby-version: .ruby-version
|
|
bundler-cache: true
|
|
|
|
- name: Run bundler-audit
|
|
run: bundle exec bundler-audit
|