You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
release.yml never detects BREAKING CHANGE footers and has a dead skip check #167
The bump step reads commit subjects only, so a BREAKING CHANGE: footer never triggers a major bump. The "Check if version changed" step can never skip.
Where
.github/workflows/release.yml:165-182
.github/workflows/release.yml:197-204
Details
Commits are read with git log ... --format="%s" and grepped for BREAKING CHANGE, which Conventional Commits puts in the body or footer. The compute step always increments a component, so skip is always false and every if: steps.check.outputs.skip == 'false' guard is dead.
Impact
A breaking change marked only in the footer ships to npm as a minor or patch release; the dead guard suggests a safety check that does not exist.
Suggested fix
Use --format="%s%n%b" (or %B) for the major check. Remove the check step and its conditions, or make it meaningful (for example skip when the tag already exists).
Acceptance criteria
A commit with a BREAKING CHANGE: footer produces a major bump
No always-true conditions remain
Getting started
Relevant files: .github/workflows/release.yml
How to run tests: cd mcp-server && npm install && npm test (and npm run typecheck); structure tests: pip install -r requirements-test.txt && pytest tests/ -v
Conventions: see CLAUDE.md and CONTRIBUTING.md
Filed by repo-audit/full-audit at 636fefb. Severity: low. Effort: S. audit-key: ci|.github/workflows/release.yml|bump
Fixed in 55383a1: the bump step now reads subjects (%s) for the type and full messages (%B) for a BREAKING CHANGE / BREAKING-CHANGE footer; '!' after any type means major. The always-false check step and its six guards are removed; CLAUDE.md describes the rule. Verified by running the step script in a scratch repo (fix->patch, feat->minor, feat!/fix(x)!->major, footer->major, inline mention->patch) and validating the YAML.
Activity
TMHSDigital commentedon Nov 19, 2026
Fixed in 55383a1: the bump step now reads subjects (%s) for the type and full messages (%B) for a BREAKING CHANGE / BREAKING-CHANGE footer; '!' after any type means major. The always-false check step and its six guards are removed; CLAUDE.md describes the rule. Verified by running the step script in a scratch repo (fix->patch, feat->minor, feat!/fix(x)!->major, footer->major, inline mention->patch) and validating the YAML.