Skip to content

Commit

Permalink
Update Slither workflow permissions and arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem committed Feb 20, 2024
1 parent 729072c commit 2ad42fc
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Slither Analysis

on:
pull_request:
push:

permissions:
contents: read
pull-requests: write

jobs:
analyze:
Expand All @@ -14,9 +19,9 @@ jobs:
uses: crytic/[email protected]
id: slither
with:
slither-version: '0.10.0'
node-version: '18'
fail-on: 'none'
slither-version: "0.10.0"
node-version: "18"
fail-on: "none"
slither-args: '--filter-paths "contracts/mock|node_modules" --checklist --markdown-root ${{ github.server_url }}/${{ github.repository }}/blob/${{ github.sha }}/contracts/'

- name: Create/update checklist as PR comment
Expand Down

0 comments on commit 2ad42fc

Please sign in to comment.