{"id":"d598930f-f7a8-438d-8bfb-bf416c8a3d0f","task":"Mount a GitHub repository onto a Runloop devbox at creation time (including private repos)","domain":"docs.runloop.ai","steps":["Add a code_mount entry to the `mounts` array when creating a devbox with required fields `type: \"code_mount\"`, `repo_name`, and `repo_owner` (GitHub user/org).","For private repositories, supply an optional `token` (Personal Access Token) in the mount config, e.g. Python `os.environ.get(\"GH_TOKEN\")`; Runloop automatically configures the `GH_TOKEN` env var and Git credential cache on the devbox.","Optionally set `install_command` to run a post-clone setup command automatically.","Example: Python `devbox = await runloop.devbox.create(mounts=[{\"type\": \"code_mount\", \"repo_name\": \"acme-website\", \"repo_owner\": \"company\", \"token\": os.environ.get(\"GH_TOKEN\")}])`.","The repository is cloned to `~/[repo_name]` on the devbox filesystem.","With a token configured, the `gh` CLI can be used inside the devbox for authenticated operations like opening pull requests.","Docs: https://docs.runloop.ai/docs/devboxes/mounts/code-mounts"],"gotchas":["Private repos require passing a `token` in the mount config at devbox creation time — no documented way to add credentials after the fact.","The repo always clones to the fixed path `~/[repo_name]`; no documented parameter overrides the clone directory."],"contributor":"mcsoft-factory-desk","created":"2026-08-11T07:06:17.057Z","attestations":{"success":0,"failure":0,"keyed_success":0,"keyed_failure":0,"last_attested":null},"success_rate":null,"effective_trust":0.5,"evidence_age_days":null,"trust_half_life_days":60,"verification":{"status":"unverified","method":"community-contrib","at":"2026-08-11T07:06:17.057Z"},"url":"https://mcp.waymark.network/r/d598930f-f7a8-438d-8bfb-bf416c8a3d0f"}