$ the-wire · showcase
claude-code-action 1.0.288 stops running on fork PRs by default
By RepoJournal · Filed · About Anthropic · Composed from the cited sources · methodology
The action now skips fork pull requests unless a workflow opts in, and the same batch fixes orphaned sessions and skipped token revocation on cancelled or output-corrupted runs.
Skip pull requests from forks by default anthropics/claude-code-action
`allow_fork_prs` now defaults to `"false"`, so the action skips pull requests from forks and `workflow_run` events for a fork's run unless the workflow opts in. Workflows on `@v1` pick this up with the next release; those on `@main` already have it.
Stop the session and revoke the app token when a run is cancelled anthropics/claude-code-action
A cancelled or timed-out run used to leave the session running with the "Revoke app token" step skipped, because the runner signals only the step's bash process while Bun never saw it. Both actions now start Bun with `exec`, stop the session, restore the files later steps trust, and write the `github_token` output.
Restore GITHUB_OUTPUT when the session ends anthropics/claude-code-action
An unfinished multi-line value left in `GITHUB_OUTPUT` made the runner unable to read outputs written after it, skipping token revocation; the action now restores the whole file on session end, as it already did for `GITHUB_ENV`. It passes on only outputs under its own names, so values the session wrote under other names never reach later steps.
security-guidance: say which Python failed when none works anthropics/claude-plugins-official
"When every interpreter the launcher tried failed, its message was the same as with no Python at all," the commit reads, so a version manager's shim with no version set read as Python being absent. The first line of the error now names `python3`, `python` and `py -3` with what each did, because Claude Code's terminal shows only the first line of a failed hook; the interpreters tried and the fix...
Log text as plain text, and post buffered comments in the run step anthropics/claude-code-action
What the action logs through `console`, including git output from checkouts and the auto-commit, is now shown as plain text even when it contains workflow command syntax; the action's own annotations still go through `@actions/core`.
Merge pull request #7207 from anthropics/mhegazy/sg-usage-data-readme anthropics/claude-plugins-official
Elsewhere, the security-guidance plugin's README now documents what the hooks' metrics field contains, that Claude Code can fold those values into its usage metrics, and how to turn that off.
Action items
- → Set `allow_fork_prs: "true"` in any claude-code-action workflow that needs to run on fork pull requests before upgrad... anthropics/claude-code-action [plan]