diff --git a/.github/workflows/super-linter.lock.yml b/.github/workflows/super-linter.lock.yml index 616e0f71d36..88f94b600da 100644 --- a/.github/workflows/super-linter.lock.yml +++ b/.github/workflows/super-linter.lock.yml @@ -4541,12 +4541,12 @@ jobs: if [ -f "super-linter.log" ] && [ -s "super-linter.log" ]; then # Check if there are actual errors (not just the header) if grep -qE "ERROR|WARN|FAIL" super-linter.log; then - echo "needs-linting=true" >> $GITHUB_OUTPUT + echo "needs-linting=true" >> "$GITHUB_OUTPUT" else - echo "needs-linting=false" >> $GITHUB_OUTPUT + echo "needs-linting=false" >> "$GITHUB_OUTPUT" fi else - echo "needs-linting=false" >> $GITHUB_OUTPUT + echo "needs-linting=false" >> "$GITHUB_OUTPUT" fi - name: Upload super-linter log if: always() diff --git a/.github/workflows/super-linter.md b/.github/workflows/super-linter.md index 06915e8d3ea..22e1c9f941f 100644 --- a/.github/workflows/super-linter.md +++ b/.github/workflows/super-linter.md @@ -50,12 +50,12 @@ jobs: if [ -f "super-linter.log" ] && [ -s "super-linter.log" ]; then # Check if there are actual errors (not just the header) if grep -qE "ERROR|WARN|FAIL" super-linter.log; then - echo "needs-linting=true" >> $GITHUB_OUTPUT + echo "needs-linting=true" >> "$GITHUB_OUTPUT" else - echo "needs-linting=false" >> $GITHUB_OUTPUT + echo "needs-linting=false" >> "$GITHUB_OUTPUT" fi else - echo "needs-linting=false" >> $GITHUB_OUTPUT + echo "needs-linting=false" >> "$GITHUB_OUTPUT" fi - name: Upload super-linter log