Skip to content

Pin rubocop gems to prevent surprise CI failures#1215

Merged
yukideluxe merged 1 commit intomainfrom
jl-pin-rubocop
Mar 29, 2026
Merged

Pin rubocop gems to prevent surprise CI failures#1215
yukideluxe merged 1 commit intomainfrom
jl-pin-rubocop

Conversation

@yukideluxe
Copy link
Copy Markdown
Member

@yukideluxe yukideluxe commented Mar 29, 2026

@sunny (cc @wwahammy) since Gemfile.lock is not tracked, CI resolves the latest Rubocop on every run. This PR pins Rubocop so CI doesn't inadvertently fails when Rubocop adds news cops 😊

I did not fix the offenses because we do those one by one and I wanted to unlock #1214 first 😊

Since Gemfile.lock is not tracked, CI resolves the latest rubocop on
every run. Pin rubocop and its extensions to pessimistic patch versions
so new cops do not cause surprise failures. Update rubocop_todo for the
three new cops introduced in 1.86.0.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@yukideluxe yukideluxe merged commit e55aa5a into main Mar 29, 2026
8 checks passed
@yukideluxe yukideluxe deleted the jl-pin-rubocop branch March 29, 2026 18:36
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.

2 participants