Skip to content

Stop bump.yml from publishing to PyPI to fix trusted-publisher failure - #106

Merged
robcaulk merged 2 commits into
mainfrom
copilot/fix-bump-version-job-again
Sep 2, 2026
Merged

Stop bump.yml from publishing to PyPI to fix trusted-publisher failure#106
robcaulk merged 2 commits into
mainfrom
copilot/fix-bump-version-job-again

Conversation

Copilot AI commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

The Bump version Actions job was failing at publish time with PyPI trusted publishing error invalid-publisher from .github/workflows/bump.yml on main. This change removes publishing from the bump path so release publication remains handled only by the tag-driven release workflow.

  • Root cause

    • bump.yml attempted pypa/gh-action-pypi-publish, but the OIDC claims from that workflow/environment do not match a configured PyPI trusted publisher.
  • Workflow changes

    • Removed PyPI publish step from .github/workflows/bump.yml.
    • Removed now-unused id-token: write permission.
    • Removed now-unused environment: pypi block from the bump job.
  • Resulting release flow

    • bump.yml: version bump + changelog + GitHub release tag creation.
    • release.yml (tag-triggered): package publish to PyPI.
# .github/workflows/bump.yml (after)
permissions:
  contents: write

jobs:
  bump:
    steps:
      # ...
      - name: Build package
        run: uv build --wheel
      - name: Release
        uses: softprops/action-gh-release@v2

Co-authored-by: robcaulk <20807672+robcaulk@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions job "Bump version" Stop bump.yml from publishing to PyPI to fix trusted-publisher failure Sep 2, 2026
Copilot AI requested a review from robcaulk September 2, 2026 08:54
@robcaulk
robcaulk marked this pull request as ready for review September 2, 2026 08:59
@robcaulk
robcaulk merged commit b196cd3 into main Sep 2, 2026
11 checks passed
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