Skip to content

Commit 7973046

Browse files
pmarmaroliclaude
andcommitted
fix: remove publish step from auto-release, let publish.yml handle it
auto-release.yml was trying to publish via OIDC but wasn't registered on PyPI. The existing publish.yml (triggered on v* tags) is already registered — so auto-release now only bumps version and pushes the tag. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent a0a2b8e commit 7973046

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

.github/workflows/auto-release.yml

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,8 @@ jobs:
1010
release:
1111
if: "!startsWith(github.event.head_commit.message, 'chore: bump version')"
1212
runs-on: ubuntu-latest
13-
environment: pypi
1413
permissions:
1514
contents: write # push version-bump commit + tag back to master
16-
id-token: write # OIDC trusted publishing to PyPI (no token needed)
1715

1816
steps:
1917
- uses: actions/checkout@v4
@@ -43,18 +41,6 @@ jobs:
4341
print(f"Bumped to {new_ver}")
4442
PYEOF
4543
46-
- name: Install build tools
47-
run: pip install hatchling build
48-
49-
- name: Build
50-
run: python -m build
51-
52-
- name: Publish to PyPI
53-
uses: pypa/gh-action-pypi-publish@release/v1
54-
# Uses OIDC trusted publishing — no API token required.
55-
# Ensure this repo + workflow is registered at:
56-
# https://pypi.org/manage/project/vocametrix/settings/publishing/
57-
5844
- name: Commit version bump and push tag
5945
run: |
6046
git config user.name "github-actions[bot]"

0 commit comments

Comments
 (0)