Skip to content

Run RuboCop directly to restore CI startup - #4

Open
jonmarkgo wants to merge 1 commit into
mainfrom
capy/restore-devise-jwt-ci
Open

jonmarkgo wants to merge 1 commit into
mainfrom
capy/restore-devise-jwt-ci

Conversation

@jonmarkgo

@jonmarkgo jonmarkgo commented Nov 23, 2026 •

Copy link
Copy Markdown
Member

Why

The Lint and Test workflow cannot create any jobs: GitHub rejects reviewdog/action-rubocop@v2 under this repository's Actions allowlist. The admission annotation appears on the PR #3 run and the merged main run. This failure predates the Ruby update.

Change

Replace only the blocked reviewdog wrapper with bundle exec rubocop, using the existing Bundler setup on Ruby 3.3.14. RuboCop still fails the lint job on offenses; the workflow no longer posts reviewdog annotations. The test matrix and gem payload are unchanged.

Verification

  • go run github.com/rhysd/actionlint/cmd/actionlint@v1.7.11 .github/workflows/ci.yml: passed.
  • Ruby 3.3.14 with the frozen root lock: bundle exec rake spec (37 examples, 0 failures) and bundle exec rubocop (49 files, no offenses).
  • git diff --check: passed.

GitHub Actions previously failed before any job ran; the new PR's ordinary pull-request run must prove the admission fix. No workflow was manually rerun and no Actions settings were changed.

Open in Capy


Prove it works
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Chores
    • Updated automated code-quality checks in the continuous integration workflow.

Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Nov 23, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The CI lint step replaces the Reviewdog RuboCop action with bundle exec rubocop.

Changes: CI lint

Layer / File(s) Summary
Run RuboCop in CI
.github/workflows/ci.yml
The lint step runs bundle exec rubocop instead of the Reviewdog RuboCop action and its configuration.

Estimated code review effort: 1 (Trivial) | ~5 minutes

Change: Bug fix

Possibly related PRs

Suggested reviewers: erinosher

Merge Risk: Minimal · up to 275dd

The lint step now runs RuboCop directly through Bundler, avoiding the disallowed action that prevented CI jobs from starting. Lint failures still fail the job, though inline annotations are gone. No concrete merge risk remains.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title "Run RuboCop directly to restore CI startup" matches the main change. The CI lint job now runs bundle exec rubocop in place of the Reviewdog RuboCop action, and the objectives say this res…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title "Run RuboCop directly to restore CI startup" matches the main change. The CI lint job now runs bundle exec rubocop in place of the Reviewdog RuboCop action, and the objectives say this restores the blocked workflow from starting. The title is specific and short, and it names the change and its purpose.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 1b9c0948-d70a-411e-a8da-eb018ae03fd2
Commits

Reviewing files that changed from the base of the PR and between e01e513 and 275dd25.

Files selected for processing: 1

  • .github/workflows/ci.yml

Included review availability: This review used your included allowance. Your plan provides up to 1 included review per hour; 0 remain after this review.

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

Successfully merging this pull request may close these issues.

1 participant