Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: anthropics/claude-code-action
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.0.193
Choose a base ref
...
head repository: anthropics/claude-code-action
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v1.0.194
Choose a head ref
  • 8 commits
  • 25 files changed
  • 10 contributors

Commits on Aug 14, 2026

  1. 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]>
    GabrielOnRails and claude authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    05ee4b3 View commit details
    Browse the repository at this point in the history
  2. 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
    winklemad authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    ed186be View commit details
    Browse the repository at this point in the history
  3. 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]>
    anishesg and anishesg authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    9678fce View commit details
    Browse the repository at this point in the history
  4. 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.
    rishavnaskar authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    b49813d View commit details
    Browse the repository at this point in the history
  5. 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
    ashwin-ant authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    a2cac87 View commit details
    Browse the repository at this point in the history
  6. 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]>
    doshidhaval and ashwin-ant authored Aug 14, 2026
    Configuration menu
    Copy the full SHA
    5da4c76 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    d721746 View commit details
    Browse the repository at this point in the history

Commits on Aug 17, 2026

  1. Configuration menu
    Copy the full SHA
    459ad35 View commit details
    Browse the repository at this point in the history
Loading