From 1e263d220fa178c75776debecc3fef9080c301a3 Mon Sep 17 00:00:00 2001 From: Uwe <13865709+greenrobot-team@users.noreply.github.com> Date: Mon, 20 Nov 2023 12:20:44 +0100 Subject: [PATCH] GitHub Actions: only fail analysis if score is low. Other lint jobs catch issues. --- .github/workflows/lint.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 90d65093..b8a4bf4b 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -58,7 +58,7 @@ jobs: - name: Check scores shell: bash run: | - if [[ "${{ steps.analysis.outputs.total }}" != "130" ]]; then + if (( ${{ steps.analysis.outputs.total }} < 100 )); then echo "Expected score 130, got ${{ steps.analysis.outputs.total }}, please check the analysis report and resolve the issues" exit 1 fi