Sha256: 83b7cacfa40467db779da9c2654065a6d03d0e2ea6fd3ffe56af9fa9f1314dc6

Contents?: true

Size: 1.21 KB

Versions: 4

Compression:

Stored size: 1.21 KB

Contents

name: Update Sorbet files

on:
  pull_request:
    paths:
      - '**.rb'

permissions:
  contents: write
  pull-requests: write

jobs:
  trigger_tapioca_pr:
    runs-on: ubuntu-latest

    env:
      RAILS_ENV: test
      REDIS_URL: redis://localhost:6379/0
      RAILS_MASTER_KEY: ${{ secrets.RAILS_MASTER_KEY }}
      SLACK_LOG_URL: http://slack.com/the_log_room

    # Service containers to run; note that this is duplicated
    # in test.yml due to a limitation in GitHub Actions
    # (services can only be defined per job)
    services:
      redis:
        # Docker Hub image name
        image: redis:6.2-alpine
        ports: ["6379:6379"]
        # Set health checks to wait until redis has started
        options: >-
          --health-cmd "redis-cli ping" --health-interval 10s --health-timeout
          5s --health-retries 5

    if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
    steps:
      - uses: actions/checkout@v3
        with:
          ref: ${{ github.head_ref }}

      - uses: ./.github/actions/sisyphus

      - uses: ./.github/actions/sorbet

      - name: Commit Sorbet
        run: |
          git add .
          git commit -m "[auto-rbi]: Update RBI files" || true
          git push

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
hephaestus-0.1.3 templates/.github/workflows/sorbet.yml
hephaestus-0.1.2 templates/.github/workflows/sorbet.yml
hephaestus-0.1.1 templates/.github/workflows/sorbet.yml
hephaestus-0.0.2 templates/.github/workflows/sorbet.yml