From 5d98075b42354cceea6c78e9dcc7ffd428d8d996 Mon Sep 17 00:00:00 2001 From: Errilaz Date: Sat, 2 May 2026 00:51:59 +0200 Subject: [PATCH] fix release auth --- actions/release/action.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/actions/release/action.yml b/actions/release/action.yml index ba2b717..636299d 100644 --- a/actions/release/action.yml +++ b/actions/release/action.yml @@ -19,6 +19,13 @@ runs: shell: bash run: curl -fsSL https://bun.sh/install | bash && echo "$HOME/.bun/bin" >> "$GITHUB_PATH" + - name: Configure git auth + shell: bash + env: + GITEA_TOKEN: ${{ inputs.gitea-token }} + GITEA_URL: ${{ inputs.gitea-url }} + run: git remote set-url origin "https://oauth2:${GITEA_TOKEN}@${GITEA_URL#https://}/${GITHUB_REPOSITORY}.git" + - name: Install dependencies shell: bash run: bun install --frozen-lockfile