Sha256: 194ada2e41f6b177f92cd53aad0b43da76c0a45a4f77b802fe831afce069df79

Contents?: true

Size: 1.17 KB

Versions: 3

Compression:

Stored size: 1.17 KB

Contents

name: Pronto
on: [pull_request]

permissions:
  checks: write
  contents: read
  pull-requests: write
  statuses: write

jobs:
  pronto:

    runs-on: ubuntu-latest

    env:
      # `MAKE="make --jobs $(nproc)"` is from
      # https://build.betterup.com/one-weird-trick-that-will-speed-up-your-bundle-install/
      # Only works for MRI
      #
      # Using 4 since https://github.com/ruby/setup-ruby use 4
      MAKE: "make --jobs 4"

    steps:
      - name: Checkout code
        uses: actions/checkout@v4
        with:
          fetch-depth: 100
      - run: git fetch --no-tags --prune --depth=100 origin "+refs/heads/$GITHUB_BASE_REF:refs/remotes/origin/$GITHUB_BASE_REF"

      - name: Setup Ruby
        uses: ruby/setup-ruby@v1
        with:
          ruby-version:  "3.3.6"
          bundler-cache: true

      - name: Setup pronto
        run: gem install pronto pronto-rubocop

      - name: Run Pronto
        run: bundle exec pronto run -f github_status github_pr -c origin/${{ github.base_ref }}
        env:
          PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }}
          PRONTO_GITHUB_ACCESS_TOKEN: "${{ github.token }}"
          BUNDLE_PATH: "vendor/bundle"

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
rf-stylez-1.2.5 .github/workflows/pronto.yml
rf-stylez-1.2.4 .github/workflows/pronto.yml
rf-stylez-1.2.3 .github/workflows/pronto.yml