Skip to content

Commit 666b6e0

Browse files
authored
Merge branch 'main' into dependabot/bundler/language_server-protocol-3.17.0.5
2 parents af4ab76 + 57c5a24 commit 666b6e0

File tree

2 files changed

+35
-21
lines changed

2 files changed

+35
-21
lines changed

.github/workflows/lint.yml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -16,14 +16,28 @@ jobs:
1616
- uses: actions/[email protected]
1717

1818
- name: Setup Ruby
19-
uses: ruby/setup-ruby@2a7b30092b0caf9c046252510f9273b4875f3db9 # v1.254.0
19+
uses: ruby/setup-ruby@v1.255.0
2020
with:
2121
bundler-cache: true
2222

23-
- name: Run linters
24-
uses: wearerequired/lint-action@548d8a7c4b04d3553d32ed5b6e91eb171e10e7bb # v2
25-
if: ${{ github.event_name == 'pull_request_target' }}
26-
with:
27-
auto_fix: true
28-
rubocop: true
29-
rubocop_command_prefix: bundle exec
23+
- name: Run RuboCop with auto-correct
24+
run: |
25+
bundle exec rubocop -A
26+
27+
- name: Check for changes
28+
id: changes
29+
run: |
30+
git config --global user.name "github-actions[bot]"
31+
git config --global user.email "github-actions[bot]@users.noreply.github.com"
32+
if git status --porcelain | grep .; then
33+
echo "changes=true" >> $GITHUB_ENV
34+
else
35+
echo "changes=false" >> $GITHUB_ENV
36+
fi
37+
38+
- name: Commit and push changes
39+
if: env.changes == 'true'
40+
run: |
41+
git add .
42+
git commit -m "chore: auto-corrected with RuboCop"
43+
git push

Gemfile.lock

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -260,30 +260,30 @@ GEM
260260
bigdecimal (~> 3.1)
261261
net-http (0.6.0)
262262
uri
263-
nokogiri (1.18.8)
263+
nokogiri (1.18.9)
264264
mini_portile2 (~> 2.8.2)
265265
racc (~> 1.4)
266-
nokogiri (1.18.8-aarch64-linux-gnu)
266+
nokogiri (1.18.9-aarch64-linux-gnu)
267267
racc (~> 1.4)
268-
nokogiri (1.18.8-aarch64-linux-musl)
268+
nokogiri (1.18.9-aarch64-linux-musl)
269269
racc (~> 1.4)
270-
nokogiri (1.18.8-arm-linux-gnu)
270+
nokogiri (1.18.9-arm-linux-gnu)
271271
racc (~> 1.4)
272-
nokogiri (1.18.8-arm-linux-musl)
272+
nokogiri (1.18.9-arm-linux-musl)
273273
racc (~> 1.4)
274-
nokogiri (1.18.8-arm64-darwin)
274+
nokogiri (1.18.9-arm64-darwin)
275275
racc (~> 1.4)
276-
nokogiri (1.18.8-x86_64-darwin)
276+
nokogiri (1.18.9-x86_64-darwin)
277277
racc (~> 1.4)
278-
nokogiri (1.18.8-x86_64-linux-gnu)
278+
nokogiri (1.18.9-x86_64-linux-gnu)
279279
racc (~> 1.4)
280-
nokogiri (1.18.8-x86_64-linux-musl)
280+
nokogiri (1.18.9-x86_64-linux-musl)
281281
racc (~> 1.4)
282282
octokit (4.25.1)
283283
faraday (>= 1, < 3)
284284
sawyer (~> 0.9)
285285
parallel (1.27.0)
286-
parser (3.3.8.0)
286+
parser (3.3.9.0)
287287
ast (~> 2.4.1)
288288
racc
289289
pathutil (0.16.2)
@@ -299,7 +299,7 @@ GEM
299299
rb-fsevent (0.11.2)
300300
rb-inotify (0.11.1)
301301
ffi (~> 1.0)
302-
regexp_parser (2.10.0)
302+
regexp_parser (2.11.1)
303303
rexml (3.4.1)
304304
rouge (3.30.0)
305305
rubocop (1.75.5)
@@ -313,7 +313,7 @@ GEM
313313
rubocop-ast (>= 1.44.0, < 2.0)
314314
ruby-progressbar (~> 1.7)
315315
unicode-display_width (>= 2.4.0, < 4.0)
316-
rubocop-ast (1.45.1)
316+
rubocop-ast (1.46.0)
317317
parser (>= 3.3.7.2)
318318
prism (~> 1.4)
319319
rubocop-performance (1.25.0)
@@ -379,4 +379,4 @@ DEPENDENCIES
379379
webrick
380380

381381
BUNDLED WITH
382-
2.5.19
382+
2.7.1

0 commit comments

Comments
 (0)