Skip to content

build: fix python upload workflows #1290

build: fix python upload workflows

build: fix python upload workflows #1290

Triggered via pull request April 10, 2025 13:08
@igawigaw
synchronize #988
igaw:fix-python
Status Failure
Total duration 1m 43s
Artifacts 1

release-python.yml

on: pull_request
Build source distribution
1m 11s
Build source distribution
upload_test_pypi
24s
upload_test_pypi
upload_pypi
0s
upload_pypi
Fit to window
Zoom out
Zoom in

Annotations

1 error
upload_test_pypi
Trusted publishing exchange failure: OpenID Connect token retrieval failed: GitHub: missing or insufficient OIDC token permissions, the ACTIONS_ID_TOKEN_REQUEST_TOKEN environment variable was unset The workflow context indicates that this action was called from a pull request on a fork. GitHub doesn't give these workflows OIDC permissions, even if `id-token: write` is explicitly configured. To fix this, change your publishing workflow to use an event that forks of your repository cannot trigger (such as tag or release creation, or a manually triggered workflow dispatch).

Artifacts

Produced during runtime
Name Size Digest
artifact Expired
772 KB
sha256:6b5dee9afa32cc116194b9d1d6e36ff1d563611a1a7c50b37cb146639aa46c09