$ the-wire · showcase
claude-code-action hardens fork handling
By RepoJournal · Filed · About Anthropic · Composed from the cited sources · methodology
The claude-code-action repo shipped a run of changes that all point the same way: pulling configuration and git settings from branches outsiders can influence, then closing the holes.
Use the default branch's config on pull requests from authors without write access anthropics/claude-code-action
When a pull request's author lacks write access and the PR doesn't target the default branch, the files the action restores (.claude/, .mcp.json, CLAUDE.md, the npm and Bun config) now come from the default branch instead of the PR's own branch. Anyone running the action against fork-based contribution flows gets the trusted config without changing their workflow.
Add an allow_fork_prs input to skip pull requests from forks anthropics/claude-code-action
A new allow_fork_prs input, defaulting to "true", lets a workflow set it to "false" and skip any pull request whose branch lives in another repository or a deleted fork, whoever opened it. Nothing changes for existing workflows unless they set it.
Skip images when a description or comment has been edited anthropics/claude-code-action
To download images the action refetches each description, comment or review that has one; it now uses that reply only if the text matches what the run uses apart from line endings, and otherwise skips that text's images and logs why. The same hardening reached the action's own git commands, which now carry safe.bareRepository=explicit before and after the session rather than only during it.
Skip fork pull requests in claude.yml anthropics/claude-code-action
claude.yml now skips fork pull requests the way claude-review.yml and the test workflows already did, including comments on a PR's conversation, where the event doesn't state where the branch lives.
Release v2.1.0 anthropics/claude-for-financial-advisors
Elsewhere: claude-for-financial-advisors released v2.1.0, security-guidance stopped holding a large diff in memory on commit and push reviews, and claude-code shipped v2.1.327 with claude mcp add-json <name> - reading server JSON from stdin so tokens stay off the command line.