From 20a14985bb40f7b4105c84177faa22c3619da248 Mon Sep 17 00:00:00 2001 From: pdewilde Date: Wed, 3 Dec 2025 13:26:22 -0800 Subject: [PATCH] Only clone .github directory --- .github/workflows/action_scanning.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/action_scanning.yml b/.github/workflows/action_scanning.yml index 1ae6082..153ab92 100644 --- a/.github/workflows/action_scanning.yml +++ b/.github/workflows/action_scanning.yml @@ -36,6 +36,9 @@ jobs: steps: - name: 'Checkout PR Code' uses: 'actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8' # ratchet:actions/checkout@v5 + with: + fetch-depth: 1 + sparse-checkout: '.github' - name: 'Check for Workflow Files' id: 'check_files'