GitHub Action

The repository is also a composite action. It runs the scanner on the runner, writes the report to the job summary, and fails the step when findings reach fail-on.

jobs:
  preflight:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v5
      - uses: foundry-rs/foundry-toolchain@v1     # so Slither can compile a Foundry project
      - run: pip install slither-analyzer          # optional: deeper analysis
      - uses: theguysaccount/bitcursor-crypto-coding-client@v0.1.1
        with:
          path: .
          fail-on: high        # high, medium, low or none

  deploy:
    needs: preflight
    # ...
InputDefaultMeaning
path.The project folder
fail-onhighFail on findings at or above this severity (none never fails)
analyzerstrueRun analyzers installed in earlier steps
OutputMeaning
reportPath of the Markdown report

The action needs only Node.js, which GitHub's runners have. It doesn't need any secret, and it doesn't deploy anything.