Skip to content

Dependabot/bundler/rubocop minitest 0.34.1 self #36

Dependabot/bundler/rubocop minitest 0.34.1 self

Dependabot/bundler/rubocop minitest 0.34.1 self #36

name: Dependabot RBI Updater
on:
pull_request:
paths:
- 'Gemfile.lock'
- 'Gemfile'
permissions:
contents: write
pull-requests: write
jobs:
update-rbis:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4
with:
persist-credentials: false
ref: ${{ github.event.pull_request.head.sha }}
fetch-depth: 0
token: ${{ env.RUBYGEMS_API_KEY }}
env:
RUBYGEMS_API_KEY: ${{ secrets.RUBYGEMS_API_KEY }}
-
name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
bundler-cache: true
-
name: Update RBIs
run: bin/toys rbi all_types
-
name: Commit RBIs
env:
GITHUB_TOKEN: ${{ secrets.LUNCHMONEY_PAT_TOKEN }}
run: |
git checkout ${{ github.head_ref }}
git config --local user.name "Dependabot RBI Updater"
git config --local user.email [email protected]
git commit -a -m "[dependabot skip] Update RBIs" --author="Dependabot RBI Updater <[email protected]>"
git push