From d6c4249d3fe2f6fa8d6f6cdbcbe1e6be40777b62 Mon Sep 17 00:00:00 2001 From: aboudjem Date: Tue, 20 Feb 2024 19:54:10 +0400 Subject: [PATCH] Update Slither workflow to fail on medium severity issues --- .github/workflows/slither.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml index 7aaff5f6..799be0cd 100644 --- a/.github/workflows/slither.yml +++ b/.github/workflows/slither.yml @@ -14,12 +14,11 @@ jobs: id: slither with: node-version: '18' - fail-on: 'none' + fail-on: 'medium' # Fail the action on medium severity issues slither-args: '--checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/' - name: Create/update checklist as PR comment uses: actions/github-script@v7 - if: github.event_name == 'pull_request' env: REPORT: ${{ steps.slither.outputs.stdout }} with: