Skip to content

ci: migrate npm release workflow to OSS Exit Gate - #963

Open
alonsopf89 wants to merge 2 commits into
googleworkspace:mainfrom
alonsopf89:oss-exit-gate-migration
Open

alonsopf89 wants to merge 2 commits into
googleworkspace:mainfrom
alonsopf89:oss-exit-gate-migration

Conversation

@alonsopf89

Copy link
Copy Markdown

Summary

Migrates the `npm` package publishing workflow to **Google OSS Exit Gate** (`go/oss-exit-gate`) using Workload Identity Federation (`google-github-actions/auth@v3`) + Artifact Registry staging (`https://us-npm.pkg.dev/oss-exit-gate-prod/googleworkspace-cli--npm/`) + GCS release manifest upload (`gs://oss-exit-gate-prod-projects-bucket/googleworkspace-cli/npm/manifests/`).

### Key Changes
- **Keyless OIDC Authentication (`google-github-actions/auth@v3`)**: Authenticates via Workload Identity Pool `projects/305452601764/locations/global/workloadIdentityPools/builders/providers/github` (removing the need for long-lived publishing tokens).
- **Artifact Registry Staging**: Publishes release artifacts to the dedicated OSS Exit Gate staging registry (`https://us-npm.pkg.dev/oss-exit-gate-prod/googleworkspace-cli--npm/`).
- **Release Manifest Trigger (`google-github-actions/setup-gcloud@v3`)**: Uploads `manifest.json` (`{"publish_all": true}`) to `gs://oss-exit-gate-prod-projects-bucket/googleworkspace-cli/npm/manifests/` so OSS Exit Gate scans, signs/attests, and publishes the package upstream.

### Onboarding & Verification Context
- **Buganizer Tracking Issues:** `b/576708880`, `b/576673325`
- **Internal Onboarding CLs:** `cl/1004336531, cl/1004943854` (submitted; Smoke Test verified in OSS Exit Gate prod)
- **Maintainers / Recent Workflow Contributors:** cc @jpoehnelt

@changeset-bot

changeset-bot Bot commented Oct 23, 2026 •

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 10ab449

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@googleworkspace-bot

Copy link
Copy Markdown
Collaborator

/gemini review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants