Skip to content

Apache Lucene open-source search software

Add regeneration of the lock file to formatting autobot #15055

Dawid Weiss861d74ddca7a
diff --git a/.github/workflows/auto-format.yml b/.github/workflows/auto-format.yml
index dc02e9fe875..3928001f7eb 100644
--- a/.github/workflows/auto-format.yml
+++ b/.github/workflows/auto-format.yml
@@ -118,8 +118,8 @@ jobs:
- name: Fix formatting issues
if: steps.initial-validation.outcome == 'failure'
run: |
- echo "Fixing formatting issues..."
- ./gradlew tidy
+ echo "Fixing formatting issues and updating lock file..."
+ ./gradlew tidy writeLocks
- name: Check if formatting fixes were made
if: steps.initial-validation.outcome == 'failure'