From 7911bfaf03f68407d90c7f65ad71be8c6c19d15c Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Tue, 10 Jun 2025 11:30:27 +0200 Subject: [PATCH] Shfmt --- .github/workflows/weekly-supelinter.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/weekly-supelinter.yaml b/.github/workflows/weekly-supelinter.yaml index 455bbb2f6..de5ee6531 100644 --- a/.github/workflows/weekly-supelinter.yaml +++ b/.github/workflows/weekly-supelinter.yaml @@ -16,6 +16,11 @@ jobs: with: fetch-depth: 0 + - name: Run shfmt on all .sh files + run: | + sudo apt-get update && sudo apt-get install -y shfmt + shfmt -i 2 -ci -s -bn -sr -kp -ln=bash -w $(find . -type f -name "*.sh") + - name: Run Super Linter uses: super-linter/super-linter/slim@main continue-on-error: true @@ -29,8 +34,7 @@ jobs: FILTER_REGEX_EXCLUDE: .github/workflows/.* FIX_ENV: true FIX_HTML_PRETTIER: true - FIX_SHELL_SHFMT: true - SHELL_SHFMT_FIX_MODE_OPTIONS: "--write -i 2 -ci -s -bn -sr -kp -ln=bash" + #FIX_SHELL_SHFMT: true FIX_YAML_PRETTIER: true FIX_JSON: true #FIX_JSON_PRETTIER: true