Skip to content

Commit 9bc60a5

Browse files
ci+release: drop --provenance for internal repos, v0.1.0-alpha.3
npm rejects provenance bundles when the source GitHub repo is `internal`-visibility, only `public` repos qualify. The OIDC trusted publisher auth itself is unaffected — provenance is the separate sigstore attestation layer. Drop the flag and document re-adding it if the repo goes public. Co-authored-by: Cursor <cursoragent@cursor.com>
1 parent 5b818a2 commit 9bc60a5

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

.github/workflows/release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,18 @@ jobs:
8484
# Stable releases get the default `latest` tag; prereleases land
8585
# under `alpha` so `npm install @onkernel/managed-auth-react` keeps
8686
# picking up stable versions only.
87+
#
88+
# `--provenance` is intentionally omitted: npm requires a public
89+
# source repository for provenance attestations and this repo is
90+
# `internal`. Re-add `--provenance` if the repo goes public.
8791
- name: Publish to npm
8892
working-directory: packages/managed-auth-react
8993
run: |
9094
NPM_TAG="latest"
9195
if [[ "$GITHUB_REF_NAME" == *-* ]]; then
9296
NPM_TAG="alpha"
9397
fi
94-
npm publish --provenance --access public --tag "$NPM_TAG"
98+
npm publish --access public --tag "$NPM_TAG"
9599
96100
- name: Create GitHub release
97101
env:

packages/managed-auth-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@onkernel/managed-auth-react",
3-
"version": "0.1.0-alpha.2",
3+
"version": "0.1.0-alpha.3",
44
"description": "React component library for Kernel managed auth — one-component drop-in with a Clerk-style appearance API",
55
"license": "MIT",
66
"author": "Kernel Technologies, Inc.",

0 commit comments

Comments
 (0)