Skip to content

Commit

Permalink
Remove SARIF file upload step in slither.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Aboudjem committed Feb 20, 2024
1 parent ea4d41d commit 5c04b16
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,3 @@ jobs:
solc-version: "0.8.24" # Use a specific Solidity compiler version
target: "contracts/" # Specify the target directory for analysis
sarif: "slither-results.sarif" # Generate a SARIF report for Code Scanning integration

# Upload the generated SARIF file to GitHub Security tab
- name: Upload SARIF file
if: always() # Ensure this step runs even if the previous step fails
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: "slither-results.sarif"
token: ${{ secrets.PAT_TOKEN }} # Use a PAT with 'security_events' permission

0 comments on commit 5c04b16

Please sign in to comment.