generated from firstmoversadvantage/fma-ruby-on-rails-template
-
Notifications
You must be signed in to change notification settings - Fork 6
22 lines (21 loc) · 806 Bytes
/
pronto.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Pronto
on: [pull_request]
jobs:
pronto:
runs-on: ubuntu-20.04
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: .ruby-version
- name: Setup pronto
run: gem install 'activesupport:6.1.7.3' 'multi_xml:0.6.0' 'faraday-net_http:3.0.2' 'faraday:2.7.12' 'public_suffix:5.0.4' 'pronto:0.11.2' 'pronto-rubocop:0.11.5' 'rubocop:1.63.3' 'rubocop-rails:2.24.1'
- name: Run Pronto
env:
PRONTO_PULL_REQUEST_ID: ${{ github.event.pull_request.number }}
PRONTO_GITHUB_ACCESS_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: pronto run -f github_status github_pr_review -c origin/${{ github.base_ref }}