Repository navigation
Comparing changes
Open a pull request
base repository: anthropics/claude-code-action
base: v1.0.193
head repository: anthropics/claude-code-action
compare: v1.0.194
- 8 commits
- 25 files changed
- 10 contributors
Commits on Aug 14, 2026
-
Harden delete_files MCP tool: validate paths within repo root (#1636)
Mirror the path validation already performed by the commit_files tool. delete_files previously only normalized absolute paths against CWD and passed relative paths through unchecked; it now runs each path through validatePathWithinRepo, rejecting "../" traversal and symlinked escapes for consistency and defense-in-depth. Co-authored-by: Claude Opus 4.8 <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 05ee4b3 - Browse repository at this point
Copy the full SHA 05ee4b3View commit details -
fix: only limit fetch depth when the checkout is already shallow (#1647)
restoreConfigFromBase and setupBranch pass --depth to every git fetch. On a checkout made with fetch-depth: 0 that does not just cap the download: it truncates the history already present and marks the repository shallow, which drops the merge base with the base branch. `git log origin/<base>..HEAD` then silently includes commits that are already merged, and `git diff origin/<base>...HEAD` fails with "no merge base" — the two commands the prompt tells Claude to run to scope its work to the PR. Gate the flag on `git rev-parse --is-shallow-repository`, so a checkout that is already shallow (the fetch-depth: 1 default) keeps the same depth behaviour and the fetch savings it was added for, while a full checkout stays full. Fixes #1642
Configuration menu - View commit details
-
Copy full SHA for ed186be - Browse repository at this point
Copy the full SHA ed186beView commit details -
fix(base-action): add ~/.local/bin to $GITHUB_PATH after auto-install (…
…#1643) ## Problem Signed-off-by: anish <[email protected]> Co-authored-by: anish <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9678fce - Browse repository at this point
Copy the full SHA 9678fceView commit details -
feat(context): include diffHunk in PR review comment context (#1584)
* feat(context): include diffHunk in PR review comment context Review comments arrived with only path and line, so the code they were written against was missing from the prompt. Fetch diffHunk in the PR GraphQL query and render it under the comment as a diff block. The hunk is PR-authored content, so it goes through sanitizeContent like the comment body. Comments without a hunk are unchanged. Fixes #855 * test(formatter): cover outdated review comments with an empty diff hunk GitHub returns diffHunk: "" (not null) for comments whose line no longer exists in the diff, so the render guard has to reject empty strings too. Found running the real query against #1025.
Configuration menu - View commit details
-
Copy full SHA for b49813d - Browse repository at this point
Copy the full SHA b49813dView commit details -
ci: skip Claude-backed test jobs on fork PRs (#1655)
* ci: skip Claude-backed test jobs on fork PRs Jobs that run the action against the Claude API authenticate via workload identity federation, which fork PRs cannot mint an OIDC token for, so they always failed on external contributions. Gate each such job on the PR head repo matching the base repo; push and workflow_dispatch runs are unaffected. No-Verification-Needed: CI workflow config only, exercised by Actions on the PR * test: pin the bare remote's initial branch in fetch-depth test The shallow-clone case created its bare remote with a plain git init, so HEAD pointed at whatever init.defaultBranch resolves to (master on CI) while the test only pushed main. git clone --depth=1 implies --single-branch, and with a dangling remote HEAD it produces an empty, non-shallow clone, so the is-shallow assertion failed on runners whose default branch is not main. No-Verification-Needed: test-only change
Configuration menu - View commit details
-
Copy full SHA for a2cac87 - Browse repository at this point
Copy the full SHA a2cac87View commit details -
fix: bump shell-quote to 1.8.4 to remediate CVE-2026-9277 (#1557)
shell-quote 1.8.3 (root and base-action dependency) is affected by CVE-2026-9277, a CRITICAL severity vulnerability. 1.8.4 contains the fix. Co-authored-by: Ashwin Bhat <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5da4c76 - Browse repository at this point
Copy the full SHA 5da4c76View commit details -
Configuration menu - View commit details
-
Copy full SHA for d721746 - Browse repository at this point
Copy the full SHA d721746View commit details
Commits on Aug 17, 2026
-
Configuration menu - View commit details
-
Copy full SHA for 459ad35 - Browse repository at this point
Copy the full SHA 459ad35View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.0.193...v1.0.194