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: |