From e711104184488e99122a51ed3981bbdbc0a30958 Mon Sep 17 00:00:00 2001 From: Hornwitser Date: Fri, 16 May 2025 19:08:29 +0200 Subject: [PATCH] add credentials --- .forgejo/workflows/build.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.forgejo/workflows/build.yaml b/.forgejo/workflows/build.yaml index 3f87dba..f8e34cc 100644 --- a/.forgejo/workflows/build.yaml +++ b/.forgejo/workflows/build.yaml @@ -16,6 +16,8 @@ jobs: name: Checkout repository shell: sh run: | + git config --global credential.helper store + echo "https://github:${{ secrets.GITHUB_TOKEN }}@$(echo "${{ github.server_url }}" | cut --bytes=9-)" > ~/.git-credentials git clone --branch ${{ github.ref_name }} ${{ github.server_url }}/${{ github.repository }} ${{ github.workspace }} - name: Authenticate with registry