From 008f2f04bce02f96a9dd248d91b88a76c3a7cba0 Mon Sep 17 00:00:00 2001 From: Sprite Date: Tue, 24 Nov 2026 23:48:27 +0000 Subject: [PATCH] CI: use actions/checkout Co-Authored-By: Claude Sonnet 5.5 --- .gitea/workflows/ci.yml | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 54e07e1..dda0e4a 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -14,14 +14,7 @@ jobs: container: node:20-bookworm steps: - name: Checkout - env: - GITHUB_TOKEN: ${{ github.token }} - run: | - # The job container has git but no actions runtime assumptions; fetch the commit directly. - git init -q . - git -c http.extraHeader="Authorization: Basic $(printf 'x-access-token:%s' "$GITHUB_TOKEN" | base64 -w0)" \ - fetch -q --depth 1 "${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY}.git" "${GITHUB_SHA}" - git checkout -q --detach FETCH_HEAD + uses: actions/checkout@v4 - name: Install MoonBit run: |