Sha256: 043f19036293edc8f0ab1344c5162dbce2d23f35b90fbacb6b3ebcea56e9d8f9

Contents?: true

Size: 1.04 KB

Versions: 3

Compression:

Stored size: 1.04 KB

Contents

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 }}


Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
lunchmoney-1.1.0 .github/workflows/dependabot-rbi-updater.yml
lunchmoney-1.0.0 .github/workflows/dependabot-rbi-updater.yml
lunchmoney-0.10.0 .github/workflows/dependabot-rbi-updater.yml