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 workflow tags and releases every main push before CI passes #115
release.yml runs on every push to main, independent of CI. It bumps the version, pushes a tag, creates a GitHub Release and dispatches publish.yml; the first test run for that version happens inside publish.yml. Every non-feat commit, including docs:, test: and chore:, produces a patch release.
.github/workflows/publish.yml:37 (first npm test for the release)
Impact
A commit that breaks the build still gets a tag and a GitHub Release; the npm publish then fails and the release has no package, with no automatic retry.
Docs-only commits publish new npm versions with identical code, which means update noise for users and churn in every versioned file.
Steps to reproduce
Push a commit to main that fails npm test.
release.yml creates vX.Y.Z and a GitHub Release; publish.yml fails at its test step.
Suggested fix
Run release.yml from workflow_run on successful "MCP Server CI" and "Validate Plugin Structure" runs for main (or add a test job that the release job needs).
Do not bump for commits that only touch docs, tests or CI (a path filter or a docs|test|ci|chore rule that results in no release).
Acceptance criteria
No tag or release is created for a commit whose CI failed.
Docs-only pushes do not publish a new npm version.
Fixed in 679b151 (changelog note in 0225079). release.yml now has a gate job that releases only when shipped files (mcp-server/ outside tests, skills/, rules/, .cursor-plugin/) changed since the last tag, and a test job (npm ci, build, Vitest, structure tests) that the release job needs. Verified live: the pushes of 679b151 and 0225079 (CI/docs only) ran the gate, and the test and release jobs were skipped, so no tag or npm version was created.
Activity
docs: note the release gate in the changelog (#115)
TMHSDigital commentedon Nov 18, 2026
Fixed in 679b151 (changelog note in 0225079). release.yml now has a
gatejob that releases only when shipped files (mcp-server/outside tests,skills/,rules/,.cursor-plugin/) changed since the last tag, and atestjob (npm ci, build, Vitest, structure tests) that the release job needs. Verified live: the pushes of 679b151 and 0225079 (CI/docs only) ran the gate, and the test and release jobs were skipped, so no tag or npm version was created.