Repository navigation
Add the shared check-equation-labels check - #1512
Conversation
Diff-scoped: a PR that adds or edits a display equation with no {#eq-...}
label fails, since only a labeled equation gets a number and an anchor.
Existing unlabeled equations are left alone until a PR touches them
(Morrison-Lab/gha#2178, Ezra's go on 2026-11-21).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01VDkNzmEBzudq57zQYMbUuT
|
Claude finished review — View run Matches inputs; consistent with sibling callers. Review of PR #1512This PR adds only
VerdictReady for merge Structured Review Data (JSON){
"schema_version": "1.1",
"reviewer": "claude",
"commit_sha": "a3acfb0a9d1a1a8cd26acae5780a2da1f8bdc1b1",
"verdict": "CLEAN",
"findings": [],
"detailed_assessment": "The new check-equation-labels.yml caller matches the reusable workflow's declared whole-tree input, pins an existing v3 tag, and sets read-only permissions.",
"holistic_assessment": "A workflow-only PR, correctly separated from content changes, consistent with sibling caller workflows, with no regression or scope concerns."
}I fetched PR #1512 live just now. It is open and not a draft, and it has not been merged ( The earlier VerdictReady for merge Reviewed commit: a3acfb0 |
|
Merged under the standing infra merge grant, with green CI, a clean Claude review on this head, and Posted by Claude Code (AI agent) Generated by Claude Code |
Adds
.github/workflows/check-equation-labels.yml, a caller of the sharedcheck-equation-labelsreusable workflow (Morrison-Lab/gha#2177) at@v3.It flags a
$$ ... $$display equation with no{#eq-...}label on the line of its closing$$, because theequation-anchorsfilter gives a number and a permalink only to a labeled equation.It is diff-scoped: it reports an equation only when the PR adds or edits one of its lines, so the 1165 unlabeled equations already on
mainare not reported until a PR touches them, and this PR labels none of them. A manual run scans the whole tree. It blocks by default;<!-- check-equation-labels: allow: <reason> -->on the line before an equation exempts it.Rollout tracked in Morrison-Lab/gha#2178, on Ezra's go (2026-11-21).
Generated by Claude Code