From 6014ec64e89d5985aaf91830961e1c2c424b5e3b Mon Sep 17 00:00:00 2001 From: spinline Date: Fri, 6 Feb 2026 20:39:46 +0300 Subject: [PATCH] ci: replace checkout action with direct git fetch --- .gitea/workflows/build-mips.yml | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build-mips.yml b/.gitea/workflows/build-mips.yml index 52f8bc3..8475129 100644 --- a/.gitea/workflows/build-mips.yml +++ b/.gitea/workflows/build-mips.yml @@ -12,7 +12,15 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v4 + - name: Checkout + env: + GIT_TOKEN: ${{ secrets.RELEASE_TOKEN }} + run: | + rm -rf .git + git init . + git remote add origin https://admin:${GIT_TOKEN}@git.karatatar.com/admin/vibetorrent.git + git fetch --depth=1 origin ${{ gitea.sha }} + git checkout FETCH_HEAD - name: Setup Rust run: |