v2.0.9 — preflight + Harden-Runner
Summary
Two centralized additions to the reusable Claude PR reviewer:
- Preflight job skips Claude on docs-only PRs (saves ~$5-10k/yr in Opus tokens). Short-circuits to run when
@claudementioned (override preserved). Paginated file list (handles PRs >100 files per cli/cli#5368). - Harden-Runner on both jobs — closes the asymmetry with go-ci.yml / go-security.yml. Parameterized (
enable-harden-runner,harden-runner-policy,harden-runner-allowed-endpoints). Default audit mode = no caller breakage.
Caller pin
uses: praetorian-inc/public-workflows/.github/workflows/claude-code.yml@c4e898f83b9c4008cc3dbe295cc420e53ec6b16b # v2.0.9Bot-review credits
- Codex + CodeRabbit (independently) caught the
@claudeoverride regression on docs-only PRs — fixed. - Codex caught the
gh pr view --json files100-file cap — fixed via paginatedgh api.