Pass Forgejo token into manual checkout step
Some checks failed
KVM Publishable Validation / publishable-kvm-suite (push) Failing after 48s

This commit is contained in:
centra 2026-04-05 04:20:17 +09:00
parent c527d50a9e
commit 955214f393

View file

@ -38,6 +38,8 @@ jobs:
- name: Checkout Repository
env:
REPO_URL: https://git.centraworks.net/centra/photoncloud-monorepo
REPO_ACTOR: ${{ github.actor }}
REPO_TOKEN: ${{ github.token }}
run: |
set -euo pipefail
export PATH="/run/current-system/sw/bin:/usr/bin:/bin:$PATH"
@ -58,7 +60,7 @@ jobs:
checkout_root="$(choose_checkout_root)"
repo_root="$(mktemp -d "${checkout_root}/ultracloud-kvm-checkout.XXXXXX")"
auth="$(printf '%s' "${GITHUB_ACTOR}:${GITHUB_TOKEN}" | base64 | tr -d '\n')"
auth="$(printf '%s' "${REPO_ACTOR}:${REPO_TOKEN}" | base64 | tr -d '\n')"
git init "$repo_root"
cd "$repo_root"