From 54cad829bcb8b7bebaab91478726f083441ae0b3 Mon Sep 17 00:00:00 2001 From: jth-nw Date: Mon, 9 Mar 2026 18:59:10 -0500 Subject: [PATCH] fix: change review output path from /tmp to repo root Claude Code's Write tool is sandboxed to the working directory and cannot write to /tmp. Changed output path to .doc-pr-review.md in the repo root, which is within the sandbox. Co-Authored-By: Claude Opus 4.6 --- .claude/skills/doc-pr/SKILL.md | 2 +- .github/workflows/claude-doc-pr.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.claude/skills/doc-pr/SKILL.md b/.claude/skills/doc-pr/SKILL.md index c43c1e7ac5..7656ff4139 100644 --- a/.claude/skills/doc-pr/SKILL.md +++ b/.claude/skills/doc-pr/SKILL.md @@ -64,7 +64,7 @@ Only report issues on lines that were added or modified in this PR. Do not flag ## Output -Write the complete review to `/tmp/doc-pr-review.md` using this exact structure: +Write the complete review to `.doc-pr-review.md` in the repository root using this exact structure: ```markdown ## Documentation PR Review diff --git a/.github/workflows/claude-doc-pr.yml b/.github/workflows/claude-doc-pr.yml index 1ee968cdd2..4e03c9d707 100644 --- a/.github/workflows/claude-doc-pr.yml +++ b/.github/workflows/claude-doc-pr.yml @@ -95,7 +95,7 @@ jobs: PR_NUMBER: ${{ github.event.pull_request.number }} REPO: ${{ github.repository }} run: | - REVIEW_FILE="/tmp/doc-pr-review.md" + REVIEW_FILE=".doc-pr-review.md" FOOTER=$'\n\n---\n\n' FOOTER+=$'**What to do next:**\n\n' FOOTER+=$'Comment `@claude` on this PR followed by your instructions to get help:\n\n'