Skip to content

ci(release): Migrate to PyPI Trusted Publisher#57

Merged
tony merged 2 commits intomasterfrom
trusted-publisher
Dec 7, 2025
Merged

ci(release): Migrate to PyPI Trusted Publisher#57
tony merged 2 commits intomasterfrom
trusted-publisher

Conversation

@tony
Copy link
Copy Markdown
Member

@tony tony commented Dec 7, 2025

Summary

  • Migrate PyPI publishing from API token to OIDC-based Trusted Publisher
  • Enable package attestations for supply chain security
  • Fix deprecated skip_existing parameter

Setup Required

Before merging, configure the trusted publisher on PyPI:

  1. Visit: https://pypi.org/manage/project/gp-libs/settings/publishing/
  2. Add publisher with:
    • Owner: git-pull
    • Repository: gp-libs
    • Workflow: tests.yml

@codecov
Copy link
Copy Markdown

codecov Bot commented Dec 7, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 71.11%. Comparing base (89be5c0) to head (fcf57f2).
⚠️ Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master      #57   +/-   ##
=======================================
  Coverage   71.11%   71.11%           
=======================================
  Files          14       14           
  Lines         914      914           
=======================================
  Hits          650      650           
  Misses        264      264           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

tony added 2 commits December 7, 2025 16:39
why: Improve security by eliminating stored API tokens and enable package attestations
what:
- Add OIDC permissions (id-token, attestations) to release job
- Remove user/password authentication in favor of trusted publishing
- Enable attestations for supply chain security
- Fix deprecated skip_existing to skip-existing
@tony tony force-pushed the trusted-publisher branch from 895779b to fcf57f2 Compare December 7, 2025 22:39
@tony tony merged commit d5cd630 into master Dec 7, 2025
35 checks passed
@tony tony deleted the trusted-publisher branch December 7, 2025 22:42
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