From aeed705456253004ac3ef0b2460d6b671a4f8d5b Mon Sep 17 00:00:00 2001 From: Misha Kav Date: Tue, 25 Nov 2025 16:39:12 +0200 Subject: [PATCH] Optimize cm repo clone by using shallow clone with depth=1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add fetch-depth: 1 to cm repo and cm org checkout steps to only fetch the last commit without history, improving clone performance. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/action.yml b/action.yml index a7023642..d151f1f6 100644 --- a/action.yml +++ b/action.yml @@ -147,6 +147,7 @@ runs: repository: '${{ fromJSON(fromJSON(inputs.client_payload)).owner }}/${{ fromJSON(fromJSON(inputs.client_payload)).cmRepo }}' ref: ${{ fromJSON(fromJSON(inputs.client_payload)).cmRepoRef }} path: gitstream/cm/ + fetch-depth: 1 - name: Checkout cm org uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 @@ -155,6 +156,7 @@ runs: repository: 'cm/cm' ref: ${{ fromJSON(fromJSON(inputs.client_payload)).cmOrgRef }} path: gitstream/cm/ + fetch-depth: 1 - name: Volume folder shell: bash