Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggester with Rubocop and Github Actions #11

Open
louis-kevin opened this issue May 11, 2021 · 0 comments
Open

Suggester with Rubocop and Github Actions #11

louis-kevin opened this issue May 11, 2021 · 0 comments

Comments

@louis-kevin
Copy link

louis-kevin commented May 11, 2021

How can I use this action suggester with action-rubocop and github actions?

This is my .rubocop.yml file

name: Rubocop
on: [pull_request]
jobs:
  rubocop:
    name: Rubocop
    runs-on: ubuntu-latest
    env:
      RAILS_ENV: development
    steps:
      - name: Check out code
        uses: actions/checkout@v1
      - uses: ruby/setup-ruby@v1
        with:
          ruby-version: 2.5.8
      - name: rubocop
        uses: reviewdog/action-rubocop@v1
        with:
          rubocop_version: gemfile
          rubocop_extensions: rubocop-rails:gemfile rubocop-rspec:gemfile
          github_token: ${{ secrets.github_token }}
          reporter: github-pr-review
@louis-kevin louis-kevin changed the title Suggester + Rubocop Suggester with Rubocop and Github Actions May 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant