diff --git a/.github/workflows/secret-scan.yml b/.github/workflows/secret-scan.yml index 4a947e6..60474bf 100644 --- a/.github/workflows/secret-scan.yml +++ b/.github/workflows/secret-scan.yml @@ -34,14 +34,14 @@ jobs: timeout-minutes: 20 steps: - name: Check out trusted base (scanner and config) - uses: actions/checkout@v5 + uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5 with: fetch-depth: 0 persist-credentials: false - name: Check out the pull request as data only if: github.event_name == 'pull_request_target' - uses: actions/checkout@v5 + uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5 with: ref: ${{ github.event.pull_request.head.sha }} path: pr-under-review