Skip to content

Commit

Permalink
Update Slither workflow to fail on medium severity issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem committed Feb 20, 2024
1 parent ed3b0c0 commit d6c4249
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d6c4249

Please sign in to comment.