Skip to content

Commit f6cee59

Browse files
Use PYPI_API_TOKEN secret name in publish workflows
Matches the secret configured in the repository settings; the previous name PYPI_TOKEN was never set on the org repo, causing 403 on upload. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent 4450f26 commit f6cee59

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ jobs:
5050
working-directory: ison-py
5151
env:
5252
TWINE_USERNAME: __token__
53-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
53+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
5454
run: twine upload dist/*
5555

5656
- name: Dry run - show what would be published
@@ -96,7 +96,7 @@ jobs:
9696
working-directory: isonantic
9797
env:
9898
TWINE_USERNAME: __token__
99-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
99+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
100100
run: twine upload dist/*
101101

102102
- name: Dry run - show what would be published

.github/workflows/release-all.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ jobs:
143143
fi
144144
env:
145145
TWINE_USERNAME: __token__
146-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
146+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
147147

148148
publish-rust-base:
149149
name: Publish Crates.io Base (ison-rust)
@@ -226,7 +226,7 @@ jobs:
226226
fi
227227
env:
228228
TWINE_USERNAME: __token__
229-
TWINE_PASSWORD: ${{ secrets.PYPI_TOKEN }}
229+
TWINE_PASSWORD: ${{ secrets.PYPI_API_TOKEN }}
230230

231231
publish-rust-dependent:
232232
name: Publish Crates.io Dependent (isonantic-rust)

0 commit comments

Comments
 (0)