ci: test packaging on PRs, too #166
release.yml
on: pull_request
Build a pure Python wheel and source distribution
15s
Publish release
0s
Publish in-dev package to test.pypi.org
12s
Deployment protection rules
Reviewers, timers, and other rules protecting deployments in this run
Event | Environments |
---|---|
offbyone
approved
|
publish-test-release |
Annotations
1 error
Publish in-dev package to test.pypi.org
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 | |
---|---|---|
Package Metadata
|
5.48 KB |
|
Packages
|
183 KB |
|
PyPI README
|
3.84 KB |
|