We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
For a private repository, the release workflow is missing the contents: read permission:
contents: read
trusted-publishing-examples/.github/workflows/release.yml
Lines 17 to 18 in 24971e1
With the added permission, the workflow also works on private repos:
jobs: pypi: permissions: contents: read id-token: write
At least for me, but maybe I was missing something... 🤔
The text was updated successfully, but these errors were encountered:
According to https://docs.github.com/en/actions/security-for-github-actions/security-guides/automatic-token-authentication#permissions-for-the-github_token, contents: read is already the default permission for github actions, is there anything else you are setting that might cause the workflow to not have read permissions?
Sorry, something went wrong.
No branches or pull requests
For a private repository, the release workflow is missing the
contents: read
permission:trusted-publishing-examples/.github/workflows/release.yml
Lines 17 to 18 in 24971e1
With the added permission, the workflow also works on private repos:
At least for me, but maybe I was missing something... 🤔
The text was updated successfully, but these errors were encountered: