Skip to content

Commit

Permalink
misc: Add Rubocop GraphQL to improve GraphQL definitions (#883)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-pochet authored Mar 3, 2023
1 parent 59ff9cf commit f5ff8ac
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pronto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,10 @@ jobs:
gem install pronto
gem install pronto-rubocop
gem install rubocop -v 1.44.1
gem install rubocop-rspec
gem install rubocop-performance
gem install rubocop-rails
gem install rubocop-rspec
gem install rubocop-performance
gem install rubocop-rails
gem install rubocop-thread_safety
gem install rubocop-graphql
- name: Run Pronto
run: PRONTO_PULL_REQUEST_ID="${{ github.event.pull_request.number }}" PRONTO_GITHUB_ACCESS_TOKEN="${{ secrets.GH_TOKEN }}" pronto run -f github_status github_pr -c origin/${{ github.base_ref }}
run: PRONTO_PULL_REQUEST_ID="${{ github.event.pull_request.number }}" PRONTO_GITHUB_ACCESS_TOKEN="${{ secrets.GH_TOKEN }}" pronto run -f github_status github_pr -c origin/${{ github.base_ref }}
1 change: 1 addition & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ require:
- rubocop-performance
- rubocop-rails
- rubocop-thread_safety
- rubocop-graphql

AllCops:
DisplayStyleGuide: true
Expand Down

0 comments on commit f5ff8ac

Please sign in to comment.