ci: authenticate checkout clone for private repo [skip ci]

This commit is contained in:
maidong
2026-07-06 10:02:09 +08:00
parent 9bcf943e82
commit c1bd786320
+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: |