Skip to content

Commit

Permalink
Merge pull request #7 from rsksmart/fix_scorecard
Browse files Browse the repository at this point in the history
Fix scorecard
  • Loading branch information
ezequiel-rodriguez authored Jan 16, 2025
2 parents 430089f + a5170d6 commit 55b9573
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/codeQL.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,7 @@ on:
- cron: "0 0 * * *"

# Declare default permissions as read only.
permissions:
contents: read
permissions: read-all

jobs:
analyze:
Expand Down
9 changes: 6 additions & 3 deletions .github/workflows/slither.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [ main ]

# Declare default permissions as read only.
permissions: read-all

jobs:
analyze:
runs-on: ubuntu-latest
Expand All @@ -18,17 +21,17 @@ jobs:
WALLET_PRIVATE_KEY: ${{ secrets.WALLET_PRIVATE_KEY }}
steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2

- name: Run Slither
uses: crytic/slither-action@v0.4.0
uses: crytic/slither-action@f197989dea5b53e986d0f88c60a034ddd77ec9a8 #v0.4.0
id: slither
with:
node-version: 18
sarif: results.sarif
fail-on: none

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v3
uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 #v3.28.0
with:
sarif_file: ${{ steps.slither.outputs.sarif }}

0 comments on commit 55b9573

Please sign in to comment.