openvibers/openvibe.link Commits
docs: private repositories clone with a token in the runner's env (#91)
Changes
@@@ -11,7 +11,9 @@ permissions:jobs:go:name: go vet and test (race)-- runs-on: ubuntu-latest++ # ubuntu-24.04, not -latest: on 2026-11-01 -latest moved to 26.04, whose runner scope will not delegate the cgroup v2++ # controllers the real desk sandbox test needs (test_a_real_desk_in_the_sandbox), and has no Python 3.9.++ runs-on: ubuntu-24.04steps:- uses: actions/checkout@v4- uses: actions/setup-go@v5@@@ -100,7 +102,7 @@ jobs:python:name: plugins (python ${{ matrix.python }})-- runs-on: ubuntu-latest++ runs-on: ubuntu-24.04 # 26.04 (-latest since 2026-11-01) has no Python 3.9 to set upstrategy:fail-fast: falsematrix:@@@ -25,11 +25,18 @@ one-time code: `curl -fsSL https://openvibe.bot/install | sh -s -- --network …on a second run, and so do the keys you added.Then add your agent keys to the runner's `env` in `config.json` (`DEEPSEEK_API_KEY`, `ANTHROPIC_API_KEY`,--`OPENAI_API_KEY`, and `GITHUB_TOKEN` to push branches and open pull requests), install any agent CLIs system-wide++`OPENAI_API_KEY`, and `GITHUB_TOKEN` to clone private GitHub repositories, push branches and open pull requests;++`GITLAB_TOKEN` for gitlab.com, and `OPENVIBE_GIT_CREDENTIALS` for any other host, one `https://user:token@host` per++line, as git's credential store writes them), install any agent CLIs system-wide(`sudo npm install -g @anthropic-ai/claude-code @openai/codex`), and restart the service. A task started onopenvibe.codes/run then clones the repository inside the job's sandbox, runs the agents there, and hands back thesummary, the changed files and the patch; it never pushes to the branch it started from.++Inside the sandbox nothing of yours is reachable (no home folder, no git sign-in), so a private repository clones only++with a token from this `env`. Codes CLI 0.6.1 and later sends it to git as an `Authorization` header for that host++alone, through `GIT_CONFIG_*` variables: it is never on a command line, in the clone's remote URL or in its++`.git/config`, and it never passes through OpenVibe.++## Config`config.json`, section `worker` (defaults shown; a zero cap means the default):
@@ -11,7 +11,9 @@ permissions:
@@ -11,7 +11,9 @@ permissions:
jobs:
jobs:
go:
go:
name: go vet and test (race)
name: go vet and test (race)
- runs-on: ubuntu-latest
+ # ubuntu-24.04, not -latest: on 2026-11-01 -latest moved to 26.04, whose runner scope will not delegate the cgroup v2
+ # controllers the real desk sandbox test needs (test_a_real_desk_in_the_sandbox), and has no Python 3.9.
+ runs-on: ubuntu-24.04
steps:
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
- uses: actions/setup-go@v5
@@ -100,7 +102,7 @@ jobs:
@@ -100,7 +102,7 @@ jobs:
python:
python:
name: plugins (python ${{ matrix.python }})
name: plugins (python ${{ matrix.python }})
- runs-on: ubuntu-latest
+ runs-on: ubuntu-24.04 # 26.04 (-latest since 2026-11-01) has no Python 3.9 to set up
strategy:
strategy:
fail-fast: false
fail-fast: false
matrix:
matrix:
@@ -25,11 +25,18 @@ one-time code: `curl -fsSL https://openvibe.bot/install | sh -s -- --network …
@@ -25,11 +25,18 @@ one-time code: `curl -fsSL https://openvibe.bot/install | sh -s -- --network …
on a second run, and so do the keys you added.
on a second run, and so do the keys you added.
Then add your agent keys to the runner's `env` in `config.json` (`DEEPSEEK_API_KEY`, `ANTHROPIC_API_KEY`,
Then add your agent keys to the runner's `env` in `config.json` (`DEEPSEEK_API_KEY`, `ANTHROPIC_API_KEY`,
-`OPENAI_API_KEY`, and `GITHUB_TOKEN` to push branches and open pull requests), install any agent CLIs system-wide
+`OPENAI_API_KEY`, and `GITHUB_TOKEN` to clone private GitHub repositories, push branches and open pull requests;
+`GITLAB_TOKEN` for gitlab.com, and `OPENVIBE_GIT_CREDENTIALS` for any other host, one `https://user:token@host` per
+line, as git's credential store writes them), install any agent CLIs system-wide
(`sudo npm install -g @anthropic-ai/claude-code @openai/codex`), and restart the service. A task started on
(`sudo npm install -g @anthropic-ai/claude-code @openai/codex`), and restart the service. A task started on
openvibe.codes/run then clones the repository inside the job's sandbox, runs the agents there, and hands back the
openvibe.codes/run then clones the repository inside the job's sandbox, runs the agents there, and hands back the
summary, the changed files and the patch; it never pushes to the branch it started from.
summary, the changed files and the patch; it never pushes to the branch it started from.
+Inside the sandbox nothing of yours is reachable (no home folder, no git sign-in), so a private repository clones only
+with a token from this `env`. Codes CLI 0.6.1 and later sends it to git as an `Authorization` header for that host
+alone, through `GIT_CONFIG_*` variables: it is never on a command line, in the clone's remote URL or in its
+`.git/config`, and it never passes through OpenVibe.
+
## Config
## Config
`config.json`, section `worker` (defaults shown; a zero cap means the default):
`config.json`, section `worker` (defaults shown; a zero cap means the default):