Commit c78554cdabb for woocommerce
commit c78554cdabb3f2245d795550ea544639aa447f9c
Author: Vlad Olaru <vlad.olaru@automattic.com>
Date: Mon Nov 2 15:31:39 2026 +0200
[ci] Speed up Core lint checkout with blobless history (#70518)
ci: Speed up Core lint checkout with blobless history
Core lint needs complete commit history for merge-base and branch diffs.
Filter historical blobs while preserving fetch-depth zero and the current
checkout behavior for every other project.
Three hosted trials per arm reduced median checkout work from 51.96 to
15.72 seconds with matching source trees, merge bases and diff hashes.
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index eae837ad359..80b88a3e306 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -203,6 +203,7 @@ jobs:
ref: ${{ inputs.refName != '' && inputs.refName || '' }}
# We tried to speed checkout up with shallow copies, but `git merge-base ...` used on different levels of tooling forces us to follow this approach.
fetch-depth: ${{ ( ( matrix.projectName == '@woocommerce/plugin-woocommerce' && '0' ) || '1' ) }}
+ filter: ${{ matrix.projectName == '@woocommerce/plugin-woocommerce' && 'blob:none' || '' }}
- uses: './.github/actions/setup-woocommerce-monorepo'
id: 'setup-monorepo'