ci: authenticate checkout clone for private repo

This commit is contained in:
maidong
2026-07-06 10:02:59 +08:00
parent 5ec69ad91f
commit 94202e7bce
+1 -1
View File
@@ -12,7 +12,7 @@ jobs:
steps:
- name: Checkout
run: |
git clone --depth=1 --branch=${{ github.ref_name }} https://gitea.airlabs.art/${{ github.repository }}.git .
git clone --depth=1 --branch=${{ github.ref_name }} https://x:${{ secrets.GITHUB_TOKEN }}@gitea.airlabs.art/${{ github.repository }}.git .
- name: Set environment by branch
run: |