Skip to content

docs-kit: the release job checks more before the release - #225

Merged
niden merged 1 commit into
masterfrom
T224-docs-kit-release-checks
Dec 5, 2026
Merged

niden merged 1 commit into
masterfrom
T224-docs-kit-release-checks

Conversation

@niden

@niden niden commented Dec 5, 2026

Copy link
Copy Markdown
Member

Link to issue: #224

What

The points of the review of #223. The kit file does not change: the fixes apply from the next release, and no kit version is necessary.

  • .github/workflows/docs-kit-release.yml, job release:
    • Check the tag: a wrong tag fails with ::error::the tag must be kit-vX.Y.Z, the version of docs-kit/package.json; then docs-kit/starter/new/package.json must pin the release address of the tag. Both checks are before the release (the starter check was in the check job, after the release).
    • Make the release: gh release create with --verify-tag and the exact file name phalcon-docs-kit-X.Y.Z.tgz (the file of the compare); then the step fails when the release can change (isImmutable is not true).
  • .github/workflows/docs-kit.yml, job install: after pnpm build and pnpm test, also pnpm typecheck, pnpm lint:docs and pnpm exec docs-kit nimbus check with the packed kit, as the CI of a site does.
  • README.md: what the release job checks, the failure case "the release can change", and the tag ruleset kit-tags (only an organization admin can create, move or delete a kit-v* tag).

Review

  • Kit suite: 160/160 pass.
  • The script of Check the tag, run locally: kit-v2.0.0 passes; kit-v9.9.9 fails with its message; a starter that pins kit-v1.1.0 fails with its message.
  • The immutability test on the real releases: kit-v2.0.0 passes, kit-v1.1.0 (not immutable) fails.
  • The commands of the install job, run locally: pass (checks 11, problems 0; typecheck 0 errors; lint and nimbus check pass).
  • The tag ruleset kit-tags: active on refs/tags/kit-v* (creation, update, deletion, force push), bypass: organization admin.

- Check the tag: an error message for a wrong tag, and the starter must pin
  the release of the tag, before the release (the check job did it after).
- Make the release: `--verify-tag`, the exact file name of the compare, and
  the job fails when the release can change (release immutability is off).
- The install job also runs typecheck, lint:docs and nimbus check with the
  packed kit, as the CI of a site does.
- README: the failure cases, and the tag ruleset `kit-tags`.

Assisted-by: Claude Code
@niden niden self-assigned this Dec 5, 2026
@niden
niden merged commit cb039d1 into master Dec 5, 2026
12 checks passed
@niden
niden deleted the T224-docs-kit-release-checks branch December 5, 2026 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant