From f3973f3777aa48b6dd69694ba699b062453c9dfb Mon Sep 17 00:00:00 2001 From: Goran Vladika Date: Fri, 23 Feb 2024 11:36:49 +0100 Subject: [PATCH] Update config to always upload results --- .github/workflows/slither.yml | 3 ++- slither.config.json | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml index a6ae529a..c225a927 100644 --- a/.github/workflows/slither.yml +++ b/.github/workflows/slither.yml @@ -15,9 +15,10 @@ jobs: id: slither with: sarif: results.sarif - fail-on: none + fail-on: medium - name: Upload SARIF file + if: always() uses: github/codeql-action/upload-sarif@v3 with: sarif_file: ${{ steps.slither.outputs.sarif }} diff --git a/slither.config.json b/slither.config.json index 389e106e..61fe000e 100644 --- a/slither.config.json +++ b/slither.config.json @@ -3,6 +3,5 @@ "exclude_informational": true, "exclude_low": true, "exclude_optimization": true, - "fail_on": "none", - "filter_paths": "src/test-helpers/.*|src/mocks/.*|node_modules/.*" + "filter_paths": "src/test-helpers/|src/mocks/|node_modules/" }