Commit 53353ff
committed
fix(container): use detached checkout for shallow clones
gh pr checkout fails with --depth=1 clones on gh CLI 2.90.0:
"fatal: cannot set up tracking information; starting point is not a branch"
The --detach flag avoids setting up a tracking branch, which is
unnecessary since the container only needs the PR files on disk.
Also fixes pre-existing ruff format issue in test_sessions_router.py.1 parent 6d847b5 commit 53353ff
2 files changed
Lines changed: 2 additions & 4 deletions
File tree
- apps/api/tests/modules/installation
- infra/docker/claude-runner
Lines changed: 1 addition & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
249 | 249 | | |
250 | 250 | | |
251 | 251 | | |
252 | | - | |
253 | | - | |
254 | | - | |
| 252 | + | |
255 | 253 | | |
256 | 254 | | |
257 | 255 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| |||
0 commit comments