Skip to content

release.yml never detects BREAKING CHANGE footers and has a dead skip check #167

Closed

Description

@TMHSDigital

Summary

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

Activity

  1. added
    good first issue
    severity: low
    on Nov 18, 2026
  2. TMHSDigital commented on Nov 19, 2026

    @TMHSDigital
    OwnerAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    cigood first issueseverity: low

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions