DRY up 'read' scope auth in v2 API controllers #5342
This file contains hidden or 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: Rubocop | |
| on: [push, pull_request] | |
| jobs: | |
| rubocop: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| # Checkout the repo | |
| - uses: actions/checkout@v2 | |
| # Install Ruby and run bundler | |
| - uses: ruby/setup-ruby@v1 | |
| with: | |
| bundler-cache: true | |
| # Run the Rubocop linter checks | |
| - name: 'Run Rubocop' | |
| run: bin/rubocop |