From 5beb65205d714c365306835a6b542769cbcd448a Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Mon, 11 Aug 2025 19:41:15 -0400 Subject: [PATCH 1/5] update language_server-protocol --- Gemfile | 2 +- Gemfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Gemfile b/Gemfile index 2059e511a161..94b121dfbe01 100644 --- a/Gemfile +++ b/Gemfile @@ -4,7 +4,7 @@ gem "faraday", "2.12.2" gem "faraday-retry", "2.3.1" gem "github-pages", "~> 232", group: :jekyll_plugins gem "json", "2.11.3" -gem "language_server-protocol", "3.17.0.4" +gem "language_server-protocol", "3.17.0.5" gem "nokogiri", "~> 1.18.8" gem "rake", "13.2.1" gem "rubocop", "1.75.5" diff --git a/Gemfile.lock b/Gemfile.lock index 24ecb225d2a0..9103bc9ff826 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -240,7 +240,7 @@ GEM rexml kramdown-parser-gfm (1.1.0) kramdown (~> 2.0) - language_server-protocol (3.17.0.4) + language_server-protocol (3.17.0.5) lint_roller (1.1.0) liquid (4.0.4) listen (3.9.0) @@ -367,7 +367,7 @@ DEPENDENCIES github-pages (~> 232) httparty json (= 2.11.3) - language_server-protocol (= 3.17.0.4) + language_server-protocol (= 3.17.0.5) minitest nokogiri (~> 1.18.8) octokit From ff489143ba9373077fca86f9d1c4b95ebedcf5ff Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Mon, 11 Aug 2025 19:42:19 -0400 Subject: [PATCH 2/5] update other gems --- Gemfile.lock | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 9103bc9ff826..63c0c2e4dcb5 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -260,30 +260,30 @@ GEM bigdecimal (~> 3.1) net-http (0.6.0) uri - nokogiri (1.18.8) + nokogiri (1.18.9) mini_portile2 (~> 2.8.2) racc (~> 1.4) - nokogiri (1.18.8-aarch64-linux-gnu) + nokogiri (1.18.9-aarch64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.8-aarch64-linux-musl) + nokogiri (1.18.9-aarch64-linux-musl) racc (~> 1.4) - nokogiri (1.18.8-arm-linux-gnu) + nokogiri (1.18.9-arm-linux-gnu) racc (~> 1.4) - nokogiri (1.18.8-arm-linux-musl) + nokogiri (1.18.9-arm-linux-musl) racc (~> 1.4) - nokogiri (1.18.8-arm64-darwin) + nokogiri (1.18.9-arm64-darwin) racc (~> 1.4) - nokogiri (1.18.8-x86_64-darwin) + nokogiri (1.18.9-x86_64-darwin) racc (~> 1.4) - nokogiri (1.18.8-x86_64-linux-gnu) + nokogiri (1.18.9-x86_64-linux-gnu) racc (~> 1.4) - nokogiri (1.18.8-x86_64-linux-musl) + nokogiri (1.18.9-x86_64-linux-musl) racc (~> 1.4) octokit (4.25.1) faraday (>= 1, < 3) sawyer (~> 0.9) parallel (1.27.0) - parser (3.3.8.0) + parser (3.3.9.0) ast (~> 2.4.1) racc pathutil (0.16.2) @@ -299,7 +299,7 @@ GEM rb-fsevent (0.11.2) rb-inotify (0.11.1) ffi (~> 1.0) - regexp_parser (2.10.0) + regexp_parser (2.11.1) rexml (3.4.1) rouge (3.30.0) rubocop (1.75.5) @@ -313,7 +313,7 @@ GEM rubocop-ast (>= 1.44.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 4.0) - rubocop-ast (1.45.1) + rubocop-ast (1.46.0) parser (>= 3.3.7.2) prism (~> 1.4) rubocop-performance (1.25.0) From 723d8676ce36e1acdfd9727a73209c9bbdb12fb2 Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Mon, 11 Aug 2025 19:44:02 -0400 Subject: [PATCH 3/5] update bundler --- Gemfile.lock | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile.lock b/Gemfile.lock index 63c0c2e4dcb5..97d928c8023a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -379,4 +379,4 @@ DEPENDENCIES webrick BUNDLED WITH - 2.5.19 + 2.7.1 From 3862f3cb20d2609619509663865e80c800a4fe6e Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Mon, 11 Aug 2025 19:46:51 -0400 Subject: [PATCH 4/5] update setup-ruby version --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 5e209889bedf..3ede9543180f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -16,7 +16,7 @@ jobs: - uses: actions/checkout@v4.2.2 - name: Setup Ruby - uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 # v1.254.0 + uses: ruby/setup-ruby@v1.255.0 with: bundler-cache: true From fc99516c6b3188158312aef3454e4325109935d0 Mon Sep 17 00:00:00 2001 From: Justin Kenyon Date: Mon, 11 Aug 2025 20:04:04 -0400 Subject: [PATCH 5/5] remove dependency on action --- .github/workflows/lint.yml | 28 +++++++++++++++++++++------- 1 file changed, 21 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 3ede9543180f..b0013d0ef9b3 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -20,10 +20,24 @@ jobs: with: bundler-cache: true - - name: Run linters - uses: wearerequired/lint-action@548d8a7c4b04d3553d32ed5b6e91eb171e10e7bb # v2 - if: ${{ github.event_name == 'pull_request_target' }} - with: - auto_fix: true - rubocop: true - rubocop_command_prefix: bundle exec + - name: Run RuboCop with auto-correct + run: | + bundle exec rubocop -A + + - name: Check for changes + id: changes + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + if git status --porcelain | grep .; then + echo "changes=true" >> $GITHUB_ENV + else + echo "changes=false" >> $GITHUB_ENV + fi + + - name: Commit and push changes + if: env.changes == 'true' + run: | + git add . + git commit -m "chore: auto-corrected with RuboCop" + git push