Skip to content

ci(release): migrate PyPI publishing to OSS Exit Gate - #402

Open
alonsopf89 wants to merge 1 commit into
tensorflow:masterfrom
alonsopf89:feat/oss-exit-gate-migration
Open

alonsopf89 wants to merge 1 commit into
tensorflow:masterfrom
alonsopf89:feat/oss-exit-gate-migration

Conversation

@alonsopf89

Copy link
Copy Markdown

Summary

Migrates .github/workflows/build.yml to publish fairness-indicators to PyPI through the Google OSS Exit Gate pipeline (fairness-indicators/pypi), replacing static PyPI API token secrets with keyless Workload Identity Federation.

Changes

  • Authenticates via keyless Workload Identity Federation (google-github-actions/auth).
  • Stages built distributions to Artifact Registry (https://us-python.pkg.dev/oss-exit-gate-prod/fairness-indicators--pypi/) and uploads manifest.json to gs://oss-exit-gate-prod-projects-bucket/fairness-indicators/pypi/manifests/.
  • Pins workflow actions to commit SHAs per zizmor security policy.

Verification

  • Internal OSS Exit Gate onboarding configuration (cl/1008995530) and Artifact Registry provisioning are submitted and active.
  • End-to-end Step 8 smoke test (fairness-indicators@0.52.0, publish_all: false) was executed and verified against fairness-indicators--pypi.

@alonsopf89
alonsopf89 force-pushed the feat/oss-exit-gate-migration branch from 43d65b7 to 81df6ba Compare October 29, 2026 02:57

This branch has not been deployed

No deployments
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