Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add id-token permission for PyPI trusted publishing #113

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

alugowski
Copy link
Collaborator

Resolve this error when uploading to PyPI using trusted publishing mechanism:

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.:

permissions:
  id-token: write

@alugowski alugowski merged commit decaf15 into GraphBLAS:main Oct 16, 2023
23 checks passed
@alugowski alugowski deleted the token branch October 16, 2023 16:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant