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/" }