test #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
name: Pronto | |
on: [pull_request] | |
jobs: | |
pronto: | |
if: ${{ !contains(github.actor, '[bot]') }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Ruby | |
uses: ruby/setup-ruby@v1 | |
- name: Setup pronto | |
run: gem install rubocop-rails pronto pronto-rubocop | |
- name: Run Pronto | |
run: > | |
PRONTO_PULL_REQUEST_ID="${{ github.event.pull_request.number }}" | |
PRONTO_GITHUB_ACCESS_TOKEN="${{ github.token }}" | |
pronto run -f github_status text -c origin/${{ github.base_ref }} |