-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update slither.yml with filter paths for mock contracts
- Loading branch information
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
|
@@ -28,3 +27,4 @@ jobs: | |
const header = '# Slither report' | ||
const body = process.env.REPORT | ||
await script({ github, context, header, body }) | ||