Skip to content

Update PyPI publish.yml for trusted publishing #55

Update PyPI publish.yml for trusted publishing

Update PyPI publish.yml for trusted publishing #55

Triggered via push November 8, 2023 15:11
Status Failure
Total duration 3m 13s
Artifacts

ci.yml

on: push
Matrix: Test
Release  /  Publish
47s
Release / Publish
Fit to window
Zoom out
Zoom in

Annotations

1 error and 1 notice
Release / Publish
Trusted publishing exchange failure: Token request failed: the server refused the request for the following reasons: * `invalid-publisher`: valid token, but no corresponding publisher (The job_workflow_ref claim does not match, expecting one of ['open2c/bioframe/.github/workflows/publish.yml@9a3e81f54132cff0eb4848c82b262537f4ab4b02', 'open2c/bioframe/.github/workflows/publish.yml@refs/tags/v0.5.1'], got 'open2c/bioframe/.github/workflows/publish.yml@refs/heads/main') This generally indicates a trusted publisher configuration error, but could also indicate an internal error on GitHub or PyPI's part. The claims rendered below are **for debugging purposes only**. You should **not** use them to configure a trusted publisher unless they already match your expectations. If a claim is not present in the claim set, then it is rendered as `MISSING`. * `sub`: `repo:open2c/bioframe:ref:refs/tags/v0.5.1` * `repository`: `open2c/bioframe` * `repository_owner`: `open2c` * `repository_owner_id`: `70977326` * `job_workflow_ref`: `open2c/bioframe/.github/workflows/publish.yml@refs/heads/main` * `ref`: `refs/tags/v0.5.1`
Release / Publish
Attempting to perform trusted publishing exchange to retrieve a temporary short-lived API token for authentication against https://upload.pypi.org/legacy/ due to __token__ username with no supplied password field