From 3ef67b4d84ffac0f1856570463e2818bec1fa23b Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 8 Jun 2025 21:17:02 +0200 Subject: [PATCH] Update weekly-supelinter.yaml --- .github/workflows/weekly-supelinter.yaml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/weekly-supelinter.yaml b/.github/workflows/weekly-supelinter.yaml index 14b58c7ce..7862a61d1 100644 --- a/.github/workflows/weekly-supelinter.yaml +++ b/.github/workflows/weekly-supelinter.yaml @@ -45,12 +45,15 @@ jobs: FIX_PYTHON_BLACK: true FIX_PYTHON_ISORT: true FIX_PYTHON_RUFF: true - # Add more FIX_ variables as needed - name: Check for linting changes id: changed run: | - git diff --quiet || echo "changed=true" >> "$GITHUB_OUTPUT" + if ! git diff --quiet; then + echo "changed=true" >> "$GITHUB_OUTPUT" + else + echo "changed=false" >> "$GITHUB_OUTPUT" + fi - name: Create New Pull Request If Needed if: steps.changed.outputs.changed == 'true' @@ -63,3 +66,5 @@ jobs: signoff: true delete-branch: true branch: lint/autofix + body: | + This pull request was automatically created by the GitHub Actions Super-Linter workflow to fix detected linting issues.