Pass Forgejo token into manual checkout step
Some checks failed
KVM Publishable Validation / publishable-kvm-suite (push) Failing after 48s
Some checks failed
KVM Publishable Validation / publishable-kvm-suite (push) Failing after 48s
This commit is contained in:
parent
c527d50a9e
commit
955214f393
1 changed files with 3 additions and 1 deletions
|
|
@ -38,6 +38,8 @@ jobs:
|
||||||
- name: Checkout Repository
|
- name: Checkout Repository
|
||||||
env:
|
env:
|
||||||
REPO_URL: https://git.centraworks.net/centra/photoncloud-monorepo
|
REPO_URL: https://git.centraworks.net/centra/photoncloud-monorepo
|
||||||
|
REPO_ACTOR: ${{ github.actor }}
|
||||||
|
REPO_TOKEN: ${{ github.token }}
|
||||||
run: |
|
run: |
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
export PATH="/run/current-system/sw/bin:/usr/bin:/bin:$PATH"
|
export PATH="/run/current-system/sw/bin:/usr/bin:/bin:$PATH"
|
||||||
|
|
@ -58,7 +60,7 @@ jobs:
|
||||||
|
|
||||||
checkout_root="$(choose_checkout_root)"
|
checkout_root="$(choose_checkout_root)"
|
||||||
repo_root="$(mktemp -d "${checkout_root}/ultracloud-kvm-checkout.XXXXXX")"
|
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"
|
git init "$repo_root"
|
||||||
cd "$repo_root"
|
cd "$repo_root"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue