mirror of
https://github.com/fabro-sh/fabro.git
synced 2026-09-09 22:33:37 +00:00
fabro(01KKTJ5WK5X7PC65KPRF3G2FQC): solve (success)
Fabro-Run: 01KKTJ5WK5X7PC65KPRF3G2FQC
Fabro-Completed: 3
Fabro-Checkpoint: 62ed1957ae
⚒️ Generated with [Fabro](https://fabro.sh)
This commit is contained in:
parent
046dd3561b
commit
0782e032d1
1 changed files with 19 additions and 1 deletions
|
|
@ -141,6 +141,24 @@ timeout_ms = 60000
|
|||
|
||||
Each command must exit with status 0. If any command fails or times out, the run aborts before the workflow starts.
|
||||
|
||||
#### Cloning into the current directory
|
||||
|
||||
When cloning a repository into the current working directory (`.`), the destination must be empty. If you need to clone over an existing checkout, use a conditional to handle this:
|
||||
|
||||
```toml title="run.toml"
|
||||
[setup]
|
||||
commands = ["git clone https://github.com/django/django.git . || (git fetch origin && git reset --hard)"]
|
||||
```
|
||||
|
||||
Alternatively, clone into a subdirectory:
|
||||
|
||||
```toml title="run.toml"
|
||||
[setup]
|
||||
commands = ["git clone https://github.com/django/django.git repo"]
|
||||
```
|
||||
|
||||
Then reference `repo/` in your workflow prompts and scripts.
|
||||
|
||||
### `[sandbox]`
|
||||
|
||||
Configure how agent tools (bash, file edits) are executed.
|
||||
|
|
@ -488,4 +506,4 @@ Use `--preflight` to validate a run config without executing it:
|
|||
|
||||
```bash
|
||||
fabro run run.toml --preflight
|
||||
```
|
||||
```
|
||||
Loading…
Add table
Reference in a new issue