Skip to content

Update faraday requirement from ~> 2.7.4 to >= 2.7.4, < 2.9.0 #56

Update faraday requirement from ~> 2.7.4 to >= 2.7.4, < 2.9.0

Update faraday requirement from ~> 2.7.4 to >= 2.7.4, < 2.9.0 #56

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 config --local user.name "Dependabot RBI Updater"
git config --local user.email action@github.com
git add sorbet/*
git commit -m "[dependabot skip] Update RBIs"
-
name: Push changes
uses: ad-m/github-push-action@v0.8.0
with:
github_token: ${{ secrets.LUNCHMONEY_PAT_TOKEN }}
branch: ${{ github.head_ref }}