diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 77e8e9d..ac83856 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,6 +8,10 @@ on: branches: - master +permissions: + contents: read + pull-requests: write + jobs: build: runs-on: ubuntu-latest @@ -33,11 +37,11 @@ jobs: env: RAILS_ENV: test - - name: RuboCop Linter Action - uses: andrewmcodes/rubocop-linter-action@v3.3.0 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - RAILS_ENV: test + - name: Rubocop + uses: reviewdog/action-rubocop@v2 + with: + skip_install: true + use_bundler: true - name: Run RSpec and Code Coverage uses: paambaati/codeclimate-action@v2.4.0