diff --git a/.github/workflows/slither.yml b/.github/workflows/slither.yml index 88ffb73..4a406f4 100644 --- a/.github/workflows/slither.yml +++ b/.github/workflows/slither.yml @@ -35,11 +35,9 @@ jobs: - name: Create/update checklist as PR comment uses: actions/github-script@v7 if: github.event_name == 'pull_request' - env: - REPORT: ${{ steps.slither.outputs.stdout }} with: script: | const script = require('.github/scripts/comment') const header = '# Slither report' - const body = process.env.REPORT + const body = ${{ steps.slither.outputs.stdout }} await script({ github, context, header, body })