From 652cf8bd6ade20f875fdec6dc1a9adff3a1af903 Mon Sep 17 00:00:00 2001 From: tracer Date: Wed, 18 Feb 2026 23:08:01 +0100 Subject: [PATCH] fix dev CI checkout without node action --- .gitea/workflows/commit.yaml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.gitea/workflows/commit.yaml b/.gitea/workflows/commit.yaml index 9d83b19..08ab95a 100644 --- a/.gitea/workflows/commit.yaml +++ b/.gitea/workflows/commit.yaml @@ -11,13 +11,16 @@ jobs: runs-on: debian-latest steps: - name: Checkout - uses: actions/checkout@v4 + run: | + git clone --quiet --depth=1 --branch=${{ gitea.ref_name }} ${{ gitea.server_url }}/${{ gitea.repository }} repo - name: Install Bats run: | sudo apt-get update sudo apt-get install -y bats - name: Run Shell Tests - run: bats tests/shell/git_update.bats + run: | + cd repo + bats tests/shell/git_update.bats deploy: if: gitea.ref_name == 'master'