Worktrunk is a CLI for Git worktree management, designed for parallel AI agent workflows
fix(ci): install pre-commit in claude-setup and replace stale gh-run-watch (#1333)
worktrunk-bot83a9ca92a37d
diff --git a/.claude/skills/release/SKILL.md b/.claude/skills/release/SKILL.mdindex dd496ac14..a87a75bc3 100644--- a/.claude/skills/release/SKILL.md+++ b/.claude/skills/release/SKILL.md@@ -24,7 +24,7 @@ description: Worktrunk release workflow. Use when user asks to "do a release", "```9. **Merge to main**: `wt merge --no-remove` (rebases onto main, pushes, keeps worktree)10. **Tag and push**: `git tag vX.Y.Z && git push origin vX.Y.Z`-11. **Wait for release workflow**: `gh run watch <run-id> --exit-status`+11. **Wait for release workflow**: Poll with `gh pr checks` or `gh run view <run-id>` every 60 seconds until complete (avoid `gh run watch` — it can hang)The tag push triggers the release workflow which builds binaries and publishes to crates.io, Homebrew, and winget automatically.diff --git a/.claude/skills/review-pr/SKILL.md b/.claude/skills/review-pr/SKILL.mdindex cb82d4f5b..7480c7327 100644--- a/.claude/skills/review-pr/SKILL.md+++ b/.claude/skills/review-pr/SKILL.md@@ -346,18 +346,16 @@ description: new text hereconcerns). There is no approval to dismiss on failure, so monitoring adds novalue.-After approving, wait for CI to finish using `gh run watch` (consistent with-the `running-in-ci` skill). Exclude the current workflow's own check to avoid-a circular wait:+After approving, monitor CI using the poll approach from `/running-in-ci`.+Exclude the current workflow's own check to avoid a circular wait:```bash-# Find the CI run triggered by this PR's HEAD commit.-RUN_ID=$(gh run list --branch <branch> --commit "$HEAD_SHA" \- --workflow ci.yaml --json databaseId --jq '.[0].databaseId')-gh run watch "$RUN_ID" --exit-status 2>&1 || true+gh pr checks <number>```-After `gh run watch` completes, verify final status:+Poll with `gh pr checks` every 60 seconds until all checks complete.++Then verify final status:```bashgh pr view <number> --json statusCheckRollup \diff --git a/.claude/skills/triage-issue/SKILL.md b/.claude/skills/triage-issue/SKILL.mdindex 31c7ddb08..a8e296d0f 100644--- a/.claude/skills/triage-issue/SKILL.md+++ b/.claude/skills/triage-issue/SKILL.md@@ -130,11 +130,11 @@ note what you tried and skip to step 7.---Closes #<issue-number> — automated triage"```-5. Monitor CI until green:+5. Monitor CI using the poll approach from `/running-in-ci`:```bash- gh run list --branch fix/issue-$ARGUMENTS- gh run watch+ gh pr checks <pr-number>```+ Poll with `gh pr checks` every 60 seconds until all checks complete.If CI fails, diagnose with `gh run view <run-id> --log-failed`, fix, andrepeat.diff --git a/.github/actions/claude-setup/action.yaml b/.github/actions/claude-setup/action.yamlindex fc57da9dd..b7361ce21 100644--- a/.github/actions/claude-setup/action.yaml+++ b/.github/actions/claude-setup/action.yaml@@ -33,6 +33,13 @@ runs:prefix-key: ${{ hashFiles('Cargo.lock') }}save-if: false+ - name: Install uv+ uses: astral-sh/[email protected]++ - name: Install pre-commit+ shell: bash+ run: uv tool install pre-commit+- name: Install shells (zsh, fish)if: inputs.install-shells == 'true'shell: bash