Skip to content

chore(release): 0.1.1 — reconcile releases, publish via trusted publishing - #9

Merged
catomean merged 1 commit into
mainfrom
chore/oidc-publish
Aug 20, 2026
Merged

chore(release): 0.1.1 — reconcile releases, publish via trusted publishing#9
catomean merged 1 commit into
mainfrom
chore/oidc-publish

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Same release model ai-forms now uses, ported here:

  • Reconciler, not trigger: on push to main / hourly / dispatch, ask npm whether package.json's version is published; publish if not. Idempotent, no tag-trigger gap.
  • OIDC only: npm Trusted Publisher for threadkit is configured (this repo · publish.yml · allow npm publish); no NODE_AUTH_TOKEN anywhere.
  • 0.1.0 → 0.1.1 so the merge proves the tokenless publish live (tag v0.1.1 is pushed by the workflow after a successful publish).

After merge + green publish run: the NPM_TOKEN repo secret gets deleted and the npm token revoked.

🤖 Generated with Claude Code

…shing

Ports ai-forms' publish reconciler: merging a version bump to main is the
whole release. The workflow (on push, hourly, or by hand) asks the registry
whether package.json's version exists and publishes it if not — idempotent,
and immune to the tag-pushed-by-GITHUB_TOKEN trigger gap.

Auth is OIDC via the package's Trusted Publisher (this repo + publish.yml),
so no npm token exists to leak or expire. The bump to 0.1.1 makes the merge
itself prove the tokenless path live.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@catomean
catomean merged commit 047dc69 into main Aug 20, 2026
1 check passed
@catomean
catomean deleted the chore/oidc-publish branch August 20, 2026 23:25
catomean added a commit that referenced this pull request Aug 20, 2026
Publishing is trusted publishing (OIDC) since #9; the NPM_TOKEN secret is
being deleted. Without this, the weekly probe would fail on the missing
secret and open a false "releases are blocked" issue.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
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