Skip to content

Commit

Permalink
Merge pull request #62 from crytic/dev-update-md-example
Browse files Browse the repository at this point in the history
Improve markdown checklist example in README
  • Loading branch information
elopez authored Jan 31, 2024
2 parents 65f78c8 + d6455d3 commit ededeed
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -361,11 +361,13 @@ jobs:
- name: Create/update checklist as PR comment
uses: actions/github-script@v6
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 = `${{ steps.slither.outputs.stdout }}`
const body = process.env.REPORT
await script({ github, context, header, body })
```

Expand Down

0 comments on commit ededeed

Please sign in to comment.