Repository navigation
ci: cut CI and review-bot cost; one PR per change - #324
Conversation
- CodeQL and image validation run on PRs (and weekly), not again on main after merge. - Documentation-only PRs (docs/, openspec/, *.md) skip CodeQL, tests, dependency audit and container steps; required checks still report. Scope detection fails open. - PR release labels no longer re-trigger on its own label writes. - Pullfrog skips documentation-only PRs; CodeRabbit filters docs and stops reviewing drafts and stacked bases. - AGENTS.md: steps and review fixes are commits in the change's PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EQXdcx49Pi5uQErd6kDEKs
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
There was a problem hiding this comment.
Important
Documentation-only PRs now skip the test job, but several tests check README and docs/ content. Because the post-merge main run is also removed, a docs PR can break those tests, merge green, and leave every later code PR failing on something it didn't touch.
Reviewed changes
I reviewed the whole CI cost-reduction change: the docs-only gating, the removed post-merge runs, the bot trigger narrowing and the AGENTS.md rule.
- Docs-only gating: a new
scopejob incodeql.ymlanddocker-publish.ymlgatesanalyze,testanddependency-auditat job level.container-checkuses a step-levelRUN_WORKenv instead, so the matrix check names still expand. - No post-merge re-run:
push: mainis removed from CodeQL andValidate Docker image. - Pullfrog skip: a pre-step reads the PR number from the run name and skips checkout and the agent for docs-only PRs. The
Review #N/Review new commits on #Npatterns match the real run titles, and other run names fail open. - Release labels: the
labeledtrigger is removed, so the workflow's own label writes no longer re-trigger it. - CodeRabbit: drafts are off, only the default base branch is reviewed, and docs are filtered by path and by
docs:/docs(title. AGENTS.md: steps and review fixes become commits in the change's PR.
claude-opus-5-5 | 𝕏
Tests check README, ADR and documentation consistency, so documentation-only PRs still run them. A gh error in the scope job now falls back to running everything instead of showing a red check. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EQXdcx49Pi5uQErd6kDEKs
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
I reviewed the one commit added since the prior Pullfrog review (d3f6589), which addresses all three earlier threads.
- Tests run on every PR: the
testjob indocker-publish.ymlno longer depends onscope, so README, ADR and doc-consistency tests still gate docs-only PRs. Only CodeQLanalyze,dependency-auditand thecontainer-checksteps are skipped for them. - Scope never goes red: the
gh pr diffcall in thescopejobs ofcodeql.ymlanddocker-publish.ymlnow ends in|| true, matchingpullfrog.yml. An empty file list falls through to running everything. - Comments updated: the workflow comments now describe the narrower docs-only skip.
claude-sonnet-5-5 | 𝕏

Behavior
October 2026: 266 PRs, 2,503 workflow runs, 7,457 billed minutes. CodeQL and image validation ran twice per change (PR, then push to
mainafter merge); documentation-only PRs ran the full CI and an Opus Pullfrog review whose prompt already asked to skip them;PR release labelsre-triggered on its own label writes (633 runs).Validate Docker imagerun on PRs (plus the weekly schedule, tags andstaging), not again onmainafter merge.docs/,openspec/,*.md, same rule aspr-gate) skip CodeQL, tests, dependency audit and container steps. Required checks still report (skipped job = success; matrix job runs with skipped steps so its names expand). Scope detection fails open.PR release labels:opened, edited, reopenedonly.pullfrog.yml: local step skips the agent for documentation-only PRs (PR number from the run name). Fails open..coderabbit.yaml: no drafts, default base only, docs filtered by path anddocs:/docs(titles.AGENTS.md: steps and review fixes are commits in the change's PR, never separate or stacked PRs.Release impact
None. CI and contributor tooling only; no shipped code or image change.
Verification
actionlint 1.7.12on all changed workflows; docs-only detection snippet on synthetic file lists.README.md+docs/+openspec/→ skip,README.md+src/sync.py→ run, workflow file → run, empty → run,AGENTS.md→ skip.Use synthetic inputs and isolated state. Do not attach secrets or private data.
AI assistance
Prepared by Claude Code (Opus 5.5); the measurements come from the GitHub API for October 2026. The skip behavior on a real documentation-only PR is verified after merge.
Pullfrog review
Pullfrog is the sole reviewer. Require a completed review of the final head,
resolve actionable threads and keep all technical CI checks green. Ignore
CodeRabbit and the known sticky
pullfrog-approvalstatus only. Docs-only PRsneed CI only. Run
pr-shipunder the repository's Git workflow.Review evidence:
🤖 Generated with Claude Code
https://claude.ai/code/session_01EQXdcx49Pi5uQErd6kDEKs