fix: add workflow-level OIDC permissions and tag trigger #7
release.yml
on: push
Matrix: Run Tests
Security Checks
48s
Matrix: Verify TestPyPI Installation
Matrix: Verify PyPI Installation
Annotations
1 error
Publish to TestPyPI
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
This generally indicates a workflow configuration error, such as insufficient
permissions. Make sure that your workflow has `id-token: write` configured
at the job level, e.g.:
```yaml
permissions:
id-token: write
```
Learn more at https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#adding-permissions-settings.
|
Artifacts
Produced during runtime
Name | Size | Digest | |
---|---|---|---|
dist-2.2.1
|
296 KB |
sha256:8ad144e228bae49b418ec4c55ae12e284022d926bdf4746ba93b932e2f8c0d1f
|
|