From e11c6b6d13ef1e84de1dfff0a92257ed0312e211 Mon Sep 17 00:00:00 2001 From: xiaoxia Date: Tue, 30 Jun 2026 16:34:30 +0800 Subject: [PATCH] fix(ci): add GITHUB_TOKEN env to validate checkout step --- .gitea/workflows/ci-cd.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/ci-cd.yml b/.gitea/workflows/ci-cd.yml index 3a429e8ba..5241813e0 100644 --- a/.gitea/workflows/ci-cd.yml +++ b/.gitea/workflows/ci-cd.yml @@ -23,6 +23,8 @@ jobs: steps: - name: Checkout code shell: sh + env: + GITHUB_TOKEN: ${{ github.token }} run: | set -eu python3 - <<'PY'