diff --git a/contracts/scripts/comment.js b/.github/scripts/comment.js similarity index 100% rename from contracts/scripts/comment.js rename to .github/scripts/comment.js diff --git a/.github/workflows/hardhat.js.yml b/.github/workflows/hardhat.js.yml index 8583cfc..8b1612a 100644 --- a/.github/workflows/hardhat.js.yml +++ b/.github/workflows/hardhat.js.yml @@ -43,7 +43,7 @@ jobs: if: github.event_name == 'pull_request' with: script: | - const script = require('./scripts/comment') + const script = require('.github/scripts/comment') const header = '# Slither report' const body = `${{ steps.slither.outputs.stdout }}` await script({ github, context, header, body })