Skip to content

Commit

Permalink
fix: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
PacificYield committed Jan 10, 2025
1 parent 2f9c697 commit 58e4c5d
Showing 1 changed file with 4 additions and 11 deletions.
15 changes: 4 additions & 11 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,8 @@ jobs:
ignore-compile: false
solc-version: "0.8.24"
slither-config: ".slither.config.json"
fail-on: none
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'
sarif: results.sarif
- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
with:
script: |
const script = require('.github/scripts/comment')
const header = '# Slither report'
const body = ${{ steps.slither.outputs.stdout }}
await script({ github, context, header, body })
sarif_file: ${{ steps.slither.outputs.sarif }}

0 comments on commit 58e4c5d

Please sign in to comment.