Skip to content

Bump rubocop-minitest from 0.33.0 to 0.34.1 #40

Bump rubocop-minitest from 0.33.0 to 0.34.1

Bump rubocop-minitest from 0.33.0 to 0.34.1 #40

name: Dependabot RBI Updater
on:
pull_request:
paths:
- 'Gemfile.lock'
- 'Gemfile'
jobs:
update-rbis:
runs-on: ubuntu-latest
if: ${{ github.triggering_actor == 'dependabot[bot]' }}
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.LUNCHMONEY_PAT_TOKEN }}
fetch-depth: 0
-
name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
-
name: Update RBIs
run: bin/toys rbi all_types
-
name: Commit RBIs
run: |
git checkout ${{ github.head_ref }}
git config --local user.name "Dependabot RBI Updater"
git config --local user.email action@github.com
git commit -a -m "[dependabot skip] Update RBIs"
git push