Skip to content

Use Clerk for scoped publishing keys - #18

Merged
nicodes merged 2 commits into
mainfrom
feat/clerk-publishing-keys
Oct 10, 2026
Merged

nicodes merged 2 commits into
mainfrom
feat/clerk-publishing-keys

Conversation

@nicodes

@nicodes nicodes commented Oct 10, 2026 •

Copy link
Copy Markdown
Member

The public CLI can use GDAM’s new Clerk publishing keys through GDAM_API_KEY, retaining GDAM_SECRET_KEY for existing users. Clerk credentials are sent as Bearer tokens.

Publishing also now reads the registered repository and complete GitHub release/asset/commit facts before posting, matching the current index API contract. Previously the CLI sent only tag and asset names, which the current backend rejects. GitHub credentials remain on the publisher’s machine. The README recommends GitHub Actions OIDC for CI and scoped Clerk keys for manual publishing.

Validation: unit tests pass, including complete publish payload/authentication and published/draft/ambiguous/missing-digest GitHub fixtures. The complete pinned make check passed, including all six release archives, artifact smoke checks, lint and race tests. Exact-head GitHub CI passed for 37eaadd35c321e616d12cdda3cc4ff0962231c10.

@nicodes
nicodes merged commit 6936b40 into main Oct 10, 2026
2 checks passed
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