Skip to content

fix: revert to token-based PyPI publishing in release.yml - #68

Merged
farhan merged 1 commit into
mainfrom
revert-oidc-publishing
Aug 20, 2026
Merged

fix: revert to token-based PyPI publishing in release.yml#68
farhan merged 1 commit into
mainfrom
revert-oidc-publishing

Conversation

@farhan

@farhan farhan commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Purpose

This PR exists to test that python-semantic-release (PSR) still cuts a release end to end. It reverts the OIDC trusted-publishing change so PSR runs on a fix: commit and we can observe the full release flow.

Changes

Reverts 9fcc655 (fix: use OIDC trusted publishing in release.yml). Restores token-based PyPI authentication on the Publish to PyPI step:

      - name: Publish to PyPI
        uses: pypa/gh-action-pypi-publish@release/v1
        with:
          user: __token__
          password: ${{ secrets.PYPI_UPLOAD_TOKEN }}

Release note

Uses a fix: commit type so PSR triggers a release on merge.

🤖 Generated with Claude Code

Reverts 9fcc655 ("fix: use OIDC trusted publishing in release.yml"). Restore
`user: __token__` / `password: ${{ secrets.PYPI_UPLOAD_TOKEN }}` on the
Publish to PyPI step, going back to token-based authentication instead of OIDC
trusted publishing.

Uses a `fix:` type so python-semantic-release cuts a release for this change.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@codecov

codecov Bot commented Aug 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 82.17%. Comparing base (87799b5) to head (a4a5057).

Additional details and impacted files
@@           Coverage Diff           @@
##             main      #68   +/-   ##
=======================================
  Coverage   82.17%   82.17%           
=======================================
  Files          48       48           
  Lines        1419     1419           
  Branches      110      110           
=======================================
  Hits         1166     1166           
  Misses        221      221           
  Partials       32       32           
Flag Coverage Δ
unittests 82.17% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@farhan
farhan merged commit 798088e into main Aug 20, 2026
8 checks passed
@farhan
farhan deleted the revert-oidc-publishing branch August 20, 2026 10:47
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.

2 participants