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:
Vendored
+2
-2
@@ -24,7 +24,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout
|
||||
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 }}
|
||||
|
||||
- name: Install Helm
|
||||
@@ -48,7 +48,7 @@ jobs:
|
||||
steps:
|
||||
- name: Checkout (full history for tags)
|
||||
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
|
||||
|
||||
- name: Check if release-worthy changes
|
||||
|
||||
Reference in New Issue
Block a user