fix: resolve unbound variable human_user in setup_ops_repo
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful

This commit is contained in:
Agent 2026-04-01 15:02:13 +00:00
parent ae3d6f20a0
commit e8b9f07a6b

View file

@ -948,7 +948,7 @@ setup_ops_repo() {
curl -sf -X POST \
-H "Authorization: token ${admin_token:-${FORGE_TOKEN}}" \
-H "Content-Type: application/json" \
"${forge_url}/api/v1/users/${human_user}/repos" \
"${forge_url}/api/v1/users/johba/repos" \
-d "{\"name\":\"${ops_name}\",\"auto_init\":true,\"default_branch\":\"${primary_branch}\",\"description\":\"Operational data\"}" >/dev/null 2>&1 || true
fi