Skip to content

chore(ci): switch to OIDC publish#11

Merged
ob-aion merged 1 commit into
mainfrom
chore/ci-oidc-switch
May 20, 2026
Merged

chore(ci): switch to OIDC publish#11
ob-aion merged 1 commit into
mainfrom
chore/ci-oidc-switch

Conversation

@ob-aion
Copy link
Copy Markdown
Collaborator

@ob-aion ob-aion commented May 20, 2026

Summary

Drop NPM_PACKAGE_REGISTRY_TOKEN and NPM_EXTRA_CONFIG from the secrets: block of .github/workflows/ci.yml. The npm Trusted Publisher form is now configured for @coroboros/uri (GitHub Actions / coroboros / uri / ci.yml / no environment), and both repo secrets have been removed.

  • The reusable workflow coroboros/ci/.github/workflows/javascript-npm-packages.yml@v0 auto-detects the OIDC branch when the token secret is absent and runs pnpm publish --provenance --no-git-checks.
  • 1.0.1+ publishes via OIDC + provenance — no long-lived token in the repo.
  • ci.yml now mirrors packages/clone/.github/workflows/ci.yml (the OIDC default shape).

Test plan

  • After merge: the next tag push (e.g. 1.0.1) triggers the publish job; its log shows Publishing with OIDC Trusted Publisher + provenance and npm view @coroboros/uri@<next-version> shows a provenance block.
  • No CI regression on branch/PR push — preflight + security jobs unaffected.

Drop NPM_PACKAGE_REGISTRY_TOKEN and NPM_EXTRA_CONFIG from the
secrets: block of .github/workflows/ci.yml. The npm Trusted
Publisher form is now configured for @coroboros/uri (GitHub Actions
/ coroboros / uri / ci.yml / no environment) and both repo secrets
have been removed.

The reusable workflow auto-detects the OIDC branch when the token
secret is absent and runs pnpm publish --provenance --no-git-checks.
1.0.1+ publishes via OIDC + provenance, no long-lived token in the
repo. ci.yml now mirrors packages/clone/.github/workflows/ci.yml.
@ob-aion ob-aion merged commit ca55cfc into main May 20, 2026
5 checks passed
@ob-aion ob-aion deleted the chore/ci-oidc-switch branch May 20, 2026 08:16
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