Skip to content

AO3-6933 Add spam checking to user comments #1905

AO3-6933 Add spam checking to user comments

AO3-6933 Add spam checking to user comments #1905

Triggered via pull request March 13, 2025 01:23
Status Failure
Total duration 1m 50s
Artifacts

reviewdog.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

1 error and 11 warnings
Rubocop
Process completed with exit code 1.
Rubocop: app/models/comment.rb#L483
[rubocop] reported by reviewdog 🐶 Don't use parentheses around the condition of an `elsif`. Raw Output: app/models/comment.rb:483:11: C: Style/ParenthesesAroundCondition: Don't use parentheses around the condition of an `elsif`.
Rubocop: app/models/comment.rb#L483
[rubocop] reported by reviewdog 🐶 Duplicate branch body detected. Raw Output: app/models/comment.rb:483:5: W: Lint/DuplicateBranch: Duplicate branch body detected.
Rubocop: app/models/comment.rb#L480
[rubocop] reported by reviewdog 🐶 Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: app/models/comment.rb:480:22: C: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Rubocop: app/models/comment.rb#L480
[rubocop] reported by reviewdog 🐶 Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping. Raw Output: app/models/comment.rb:480:11: C: Style/StringLiterals: Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.
Rubocop: app/models/comment.rb#L480
[rubocop] reported by reviewdog 🐶 Use `%w` or `%W` for an array of words. Raw Output: app/models/comment.rb:480:10: C: Style/WordArray: Use `%w` or `%W` for an array of words.
Rubocop: app/models/comment.rb#L480
[rubocop] reported by reviewdog 🐶 Don't use parentheses around a method call. Raw Output: app/models/comment.rb:480:9: C: Style/RedundantParentheses: Don't use parentheses around a method call.
Rubocop: app/models/comment.rb#L480
[rubocop] reported by reviewdog 🐶 Use the return of the conditional for variable assignment and comparison. Raw Output: app/models/comment.rb:480:5: C: Style/ConditionalAssignment: Use the return of the conditional for variable assignment and comparison.
Rubocop: app/models/comment.rb#L68
[rubocop] reported by reviewdog 🐶 Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards Raw Output: app/models/comment.rb:68:23: C: I18n/DeprecatedHelper: Prefer Rails built-in `t` helper over `ts` and move the text into the yml file. `ts` is not actually translatable. For more information, refer to https://github.com/otwcode/otwarchive/wiki/Internationalization-(i18n)-Standards
Rubocop
Failed to save: Failed to CreateCacheEntry: Received non-retryable error: Failed request: (409) Conflict: cache entry with the same key, version, and scope already exists
Rubocop
Cache not found for keys: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.2.7-wd-/home/runner/work/otwarchive/otwarchive-with--without--only-linters-Gemfile.lock-c79846b165a76850bc86ff5226541b2c61dde38a9b03b844defe9e75211c2144, setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.2.7-wd-/home/runner/work/otwarchive/otwarchive-with--without--only-linters-Gemfile.lock-
ERB Lint runner
Cache not found for keys: setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.2.7-wd-/home/runner/work/otwarchive/otwarchive-with--without--only-linters-Gemfile.lock-c79846b165a76850bc86ff5226541b2c61dde38a9b03b844defe9e75211c2144, setup-ruby-bundler-cache-v6-ubuntu-24.04-x64-ruby-3.2.7-wd-/home/runner/work/otwarchive/otwarchive-with--without--only-linters-Gemfile.lock-