Fix CI checkout: use token auth for git clone

Repo requires authentication; use gitea.token in clone URLs.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-02-19 20:56:50 +00:00
parent 698c977511
commit dbf804a42f
+2 -2
View File
@@ -24,7 +24,7 @@ jobs:
steps: steps:
- name: Checkout - name: Checkout
run: | run: |
git clone --depth=1 https://git.produktor.io/${{ gitea.repository }}.git . git clone --depth=1 https://${{ gitea.actor }}:${{ gitea.token }}@git.produktor.io/${{ gitea.repository }}.git .
git checkout ${{ gitea.sha }} git checkout ${{ gitea.sha }}
- name: Install Helm - name: Install Helm
@@ -48,7 +48,7 @@ jobs:
steps: steps:
- name: Checkout (full history for tags) - name: Checkout (full history for tags)
run: | run: |
git clone https://git.produktor.io/${{ gitea.repository }}.git . git clone https://${{ gitea.actor }}:${{ gitea.token }}@git.produktor.io/${{ gitea.repository }}.git .
git fetch --tags git fetch --tags
- name: Check if release-worthy changes - name: Check if release-worthy changes