Skip to content

Commit

Permalink
Update slither.yml with filter paths for mock contracts
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem committed Feb 20, 2024
1 parent a8e56ff commit 8848ee6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,9 @@ jobs:
uses: crytic/[email protected]
id: slither
with:
target: ./contracts
node-version: '18'
fail-on: 'medium' # Fail the action on medium severity issues
slither-args: '--checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/'
slither-args: '--filter-paths "contracts/mock" --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/'

- name: Create/update checklist as PR comment
uses: actions/github-script@v7
Expand All @@ -28,3 +27,4 @@ jobs:
const header = '# Slither report'
const body = process.env.REPORT
await script({ github, context, header, body })

0 comments on commit 8848ee6

Please sign in to comment.