From 5ab9791c72310ed7d639af37e11e0637166dacc3 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Mon, 2 Feb 2026 14:45:15 +0100 Subject: [PATCH] ci: use shallow clones to resolve 'No space left on device' errors --- .gitea/workflows/deploy.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 40d6e0be..2f7e0ac5 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -45,7 +45,7 @@ jobs: - name: Checkout repository uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 2 - name: 🔍 Check for Gatekeeper changes id: changes @@ -154,6 +154,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Setup Node.js uses: actions/setup-node@v4 @@ -200,6 +202,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: 🐳 Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -239,6 +243,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: 🐳 Set up Docker Buildx uses: docker/setup-buildx-action@v3 @@ -313,6 +319,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: 🚀 Deploy to ${{ env.TARGET }} run: | @@ -404,6 +412,8 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v4 + with: + fetch-depth: 1 - name: Setup Node.js uses: actions/setup-node@v4