From 69c717a8515ffc86b4c8f5e0dd5f546eaa74e40e Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Sat, 22 Aug 2026 00:47:11 -0700 Subject: [PATCH] fix(ci): use git clone instead of Node.js actions/checkout --- .gitea/workflows/ci.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/ci.yaml b/.gitea/workflows/ci.yaml index 205c48a..1f7be3f 100644 --- a/.gitea/workflows/ci.yaml +++ b/.gitea/workflows/ci.yaml @@ -15,10 +15,12 @@ jobs: GOFLAGS: -mod=readonly GITHUB_TOKEN: ${{ secrets.REGISTRY_PAT }} steps: - - name: install node (required by JS-based actions) - run: apk add --no-cache nodejs git - - - uses: actions/checkout@v4 + - name: Checkout code + run: | + git init + git remote add origin https://forgejo.riotpiao.com/rock/poimen-workflows.git + git fetch origin ${{ github.ref_name }} --depth=1 + git checkout FETCH_HEAD - name: Download dependencies run: go mod download