Merge pull request 'fix: bug: bin/disinto init — env_file unbound variable at line 765 (#145)' (#146) from fix/issue-145 into main
All checks were successful
ci/woodpecker/push/ci Pipeline was successful

This commit is contained in:
dev-qwen 2026-04-02 12:04:47 +00:00
commit 7267f68a6d

View file

@ -744,6 +744,7 @@ setup_forge() {
# Get or create human user token
local human_token
local env_file="${FACTORY_ROOT}/.env"
if curl -sf --max-time 5 "${forge_url}/api/v1/users/${human_user}" >/dev/null 2>&1; then
human_token=$(curl -sf -X POST \
-u "${human_user}:${human_pass}" \
@ -785,7 +786,6 @@ setup_forge() {
[predictor-bot]="FORGE_PREDICTOR_TOKEN"
)
local env_file="${FACTORY_ROOT}/.env"
local bot_user bot_pass token token_var
for bot_user in dev-bot review-bot planner-bot gardener-bot vault-bot supervisor-bot predictor-bot architect-bot; do