mirror of
https://github.com/mountain-loop/yaak.git
synced 2026-07-05 20:41:58 +02:00
Update checkout pr command with proper timeout
This commit is contained in:
@@ -17,7 +17,7 @@ Review a GitHub pull request in a new git worktree.
|
|||||||
2. Get PR information using `gh pr view <PR_NUMBER> --json number,headRefName`
|
2. Get PR information using `gh pr view <PR_NUMBER> --json number,headRefName`
|
||||||
3. Extract the branch name from the PR
|
3. Extract the branch name from the PR
|
||||||
4. Create a new worktree at `../yaak-worktrees/pr-<PR_NUMBER>`
|
4. Create a new worktree at `../yaak-worktrees/pr-<PR_NUMBER>`
|
||||||
- IMPORTANT: Do NOT set a timeout for this command as the post-checkout hook runs npm install and bootstrap which can take several minutes
|
- IMPORTANT: Set a long timeout (600000ms = 10 minutes) for this command as the post-checkout hook runs npm install and bootstrap which can take several minutes
|
||||||
5. Checkout the PR branch in the new worktree using `gh pr checkout <PR_NUMBER>`
|
5. Checkout the PR branch in the new worktree using `gh pr checkout <PR_NUMBER>`
|
||||||
6. The post-checkout hook will automatically:
|
6. The post-checkout hook will automatically:
|
||||||
- Create `.env.local` with unique ports
|
- Create `.env.local` with unique ports
|
||||||
|
|||||||
Reference in New Issue
Block a user