From d653ce828b5c67b144fd4aaf68dca2cc5ffd08af Mon Sep 17 00:00:00 2001 From: Brijesh Kumar Patel Date: Mon, 19 Jan 2026 16:13:16 +0530 Subject: [PATCH] PDP-684: updated workflow to checkout only head commit1 --- .github/workflows/trufflehog-scan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/trufflehog-scan.yml b/.github/workflows/trufflehog-scan.yml index ce7563b..269a0e5 100644 --- a/.github/workflows/trufflehog-scan.yml +++ b/.github/workflows/trufflehog-scan.yml @@ -40,7 +40,7 @@ jobs: uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - fetch-depth: 1 + fetch-depth: 2 - name: Setup exclude config id: config