Skip to content

Commit b2e0334

Browse files
phernandezclaude
andcommitted
ci(core): publish dev releases via trusted publishing
The first live run of the repaired pipeline reached the publish step and failed with invalid-publisher: the PYPI_TOKEN secret no longer exists, so the action fell back to OIDC, and PyPI has no trusted publisher registered for dev-release.yml. Stable releases already publish via the release.yml trusted publisher (the 0.22.1 run shows attestation generation). Drop the dead password input so the OIDC path is explicit; the remaining step is registering dev-release.yml as a trusted publisher on the PyPI project, which only a project owner can do. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01G4rbaeHJN3L7CREp5v38J9 Signed-off-by: phernandez <paul@basicmachines.co>
1 parent 3d74ab4 commit b2e0334

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)