Skip to content

Commit 4d1dfdb

Browse files
phernandezclaude
andauthored
ci(core): publish dev releases via trusted publishing (#1293)
Signed-off-by: phernandez <paul@basicmachines.co> Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
1 parent 3d74ab4 commit 4d1dfdb

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/dev-release.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,12 @@ jobs:
7171
# artifact carries the same metadata-free version the gate saw.
7272
UV_DYNAMIC_VERSIONING_BYPASS="${{ steps.check_version.outputs.version }}" uv build
7373
74+
# Publishes via PyPI trusted publishing (OIDC) — the PYPI_TOKEN secret no
75+
# longer exists (stable releases attest via the release.yml trusted
76+
# publisher). Requires a PyPI trusted-publisher registration for
77+
# dev-release.yml on the basic-memory project.
7478
- name: Publish dev version to PyPI
7579
if: steps.check_version.outputs.is_dev == 'true'
7680
uses: pypa/gh-action-pypi-publish@release/v1
7781
with:
78-
password: ${{ secrets.PYPI_TOKEN }}
7982
skip-existing: true # Don't fail if version already exists

0 commit comments

Comments
 (0)