Skip to content

build(deps): bump sorbet-runtime from 0.5.11361 to 0.5.11545 #78

build(deps): bump sorbet-runtime from 0.5.11361 to 0.5.11545

build(deps): bump sorbet-runtime from 0.5.11361 to 0.5.11545 #78

name: Dependabot Tapioca updates
on:
pull_request_target:
types: [opened, synchronize]
jobs:
build:
if: ${{ !contains(github.event.pull_request.labels.*.name, 'needs-gem-rbi') }}'
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.PAT_USER_TOKEN }}
ref: ${{ github.event.pull_request.head.ref }}
- name: git info
run: git log --oneline | head -n10
- name: Dump GitHub context
env:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: Dump GitHub PR context
env:
GITHUB_CONTEXT: ${{ toJson(github.event.pull_request) }}
run: echo "$GITHUB_CONTEXT"
- name: Setup AutoHCK
uses: ./.github/actions/setup-autohck
- name: Tapioca update
run: bundle exec tapioca gem
- name: add label
uses: actions-ecosystem/action-remove-labels@v1
with:
labels: needs-gem-rbi
- name: git update
run: |
git config --global user.name 'Daynix GitHub Actions'
git config --global user.email '[email protected]'
git add sorbet/rbi/gems
git commit --amend -m 'Update tapioca RBIs' sorbet/rbi/gems
git push --force