fix: setup_ops_repo should create ops repo under disinto-admin, not the authenticated bot (#240)
All checks were successful
ci/woodpecker/push/ci Pipeline was successful
ci/woodpecker/pr/ci Pipeline was successful
ci/woodpecker/pr/smoke-init Pipeline was successful

- Replace POST /api/v1/users/{owner}/repos fallback with admin API
  POST /api/v1/admin/users/{org_name}/repos, which creates in the target
  namespace regardless of which user is authenticated
- Fix ops_slug derivation in disinto_init to always use disinto-admin
  as owner instead of deriving from forge_repo (which may be johba/...)
- Update projects/disinto.toml.example ops_repo default to disinto-admin/disinto-ops
This commit is contained in:
Claude 2026-04-05 18:07:47 +00:00
parent a8f13e1ac3
commit 67d66b3e7a
2 changed files with 10 additions and 6 deletions

View file

@ -5,7 +5,7 @@
name = "disinto"
repo = "johba/disinto"
ops_repo = "johba/disinto-ops"
ops_repo = "disinto-admin/disinto-ops"
forge_url = "http://localhost:3000"
repo_root = "/home/YOU/dark-factory"
ops_repo_root = "/home/YOU/disinto-ops"