action-rubocop icon indicating copy to clipboard operation
action-rubocop copied to clipboard

Run rubocop with reviewdog 🐶

Results 12 action-rubocop issues
Sort by recently updated
recently updated
newest added

I have an `info` level Rubocop issue. It is reported as such in the reviewdog github action: ![Screen Shot 2022-05-27 at 12 01 34 pm](https://user-images.githubusercontent.com/1095688/170614366-a2a30d37-2da1-46ec-908f-0cca79bbf609.png) **Expected behaviour:** Reviewdog should report...

help wanted

We should add tests to avoid this (#31) kind of failure before merging it similar to https://github.com/reviewdog/action-template and other actions. @mgrachev Can you work on it?

help wanted
good first issue

Any action run I try fails with `Invalid request. Only 65535 characters are allowed; 70292 were supplied.` Configuration: ```yml name: Rubocop on: pull_request jobs: rubocop: name: runner / rubocop runs-on:...

Is it normal that it takes so long if I just add the yml to the workflow? ```yaml name: Review Dog on: pull_request: branches: [develop] jobs: rubocop: name: dog-pro runs-on:...

## Problem When I run `reviewdog/action-rubocop`with `rubocop_flags: --server` option, `reviewdog` command fails to parse its result. ``` Running rubocop with reviewdog 🐶 ... reviewdog: parse error: failed to unmarshal rdjson...

When running reviewdog/action-rubocop action, the suggestion for `Rails/RedundantActiveRecordAllMethod` that appears in the pull request review is incorrect. -------- ## Expected behavior 📝 **[rubocop]** reported by [reviewdog](https://github.com/reviewdog/reviewdog) :dog:Redundant `all` detected. ```suggestion...

The closing parenthese `)` remains missing in the suggestion.

Add an input to limit running rubocop only against files changed in the PR. Had to switch to bash for process substitution and working with arrays. Ignore if there are...

Getting this message on action-rubocop runs: ``` Running rubocop with reviewdog 🐶 ... time=2024-10-13T00:44:24.061Z level=WARN msg="reviewdog: -fail-on-error is deprecated. Use -fail-level=any, or -fail-level=error for github-[pr-]check reporter instead. See also https://github.com/reviewdog/reviewdog/blob/master/CHANGELOG.md"...

To adapt for the same change in the reviewdog 0.20.2, see https://github.com/reviewdog/reviewdog/pull/1854.