diff --git a/.github/workflows/weekly-supelinter.yaml b/.github/workflows/weekly-supelinter.yaml index a0c530c3e..bc68ca898 100644 --- a/.github/workflows/weekly-supelinter.yaml +++ b/.github/workflows/weekly-supelinter.yaml @@ -54,10 +54,6 @@ jobs: FIX_PYTHON_ISORT: true FIX_PYTHON_RUFF: true - - name: Restore executable permissions - run: | - find . -type f \( -name "*.sh" -o -name "run" \) -exec chmod +x {} \; - - name: Use 4 spaces in shell scripts run: | curl -sSLo /usr/local/bin/shfmt https://github.com/mvdan/sh/releases/download/v3.12.0/shfmt_v3.12.0_linux_amd64 @@ -74,6 +70,10 @@ jobs: done shell: bash + - name: Restore executable permissions + run: | + find . -type f \( -name "*.sh" -o -name "run" \) -exec chmod +x {} \; + - name: Remove Super-Linter output (prevent checkout conflict) run: sudo rm -rf super-linter-output/