diff --git a/.github/workflows/secret-scanner.yml b/.github/workflows/secret-scanner.yml index c99df0aa6..f2e6df4d3 100644 --- a/.github/workflows/secret-scanner.yml +++ b/.github/workflows/secret-scanner.yml @@ -19,10 +19,10 @@ jobs: uses: actions/checkout@v1 with: fetch-depth: 0 - path: /tmp + path: tmp - name: Run scanner - run: scanner 'commit' /tmp github ${{ github.repository }} --markdown-file job_summary.md \ + run: scanner 'commit' tmp github ${{ github.repository }} --markdown-file job_summary.md \ ${{ github.event_name == 'pull_request' && format('--since-commit {0}', github.event.pull_request.base.sha) || ''}} - name: Write result to summary - run: cat /tmp/job_summary.md >> $GITHUB_STEP_SUMMARY + run: cat tmp/job_summary.md >> $GITHUB_STEP_SUMMARY if: ${{ always() }}