From d491090bd3da20bfda29285b39e7f0d37d8a575f Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Tue, 30 Jun 2026 16:32:52 +0800 Subject: [PATCH] fix(ci): use python3 in validate checkout (slim image has no python symlink) --- .gitea/workflows/ci-cd.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index bb04be524..3a429e8ba 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -25,7 +25,7 @@ jobs: shell: sh run: | set -eu - python - <<'PY' + python3 - <<'PY' import io, os, tarfile, urllib.request url = f"{os.environ['GITHUB_API_URL']}/repos/{os.environ['GITHUB_REPOSITORY']}/archive/{os.environ['GITHUB_SHA']}.tar.gz" request = urllib.request.Request(url, headers={"Authorization": f"token {os.environ['GITHUB_TOKEN']}"})