From 08e9b7a4217fd6096c42ff4e038ad3d6703d1739 Mon Sep 17 00:00:00 2001 From: Adam Hall Date: Mon, 4 May 2026 09:18:19 +0930 Subject: [PATCH] HOTFIX: Set fetch-depth to 0 for the phpstan check so that our phpstan.sh scripts can access the target branch to determine the diffed files --- .github/workflows/php-quality-checks.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/php-quality-checks.yml b/.github/workflows/php-quality-checks.yml index ced4cc6..14baead 100644 --- a/.github/workflows/php-quality-checks.yml +++ b/.github/workflows/php-quality-checks.yml @@ -357,6 +357,7 @@ jobs: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd #v6.0.2 with: persist-credentials: false + fetch-depth: 0 - name: Setup PHP uses: shivammathur/setup-php@accd6127cb78bee3e8082180cb391013d204ef9f #2.37.0