Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ jobs:
runs-on: ubuntu-latest
environment: pypi
permissions:
# Required for OIDC. Nothing else is, and nothing else is granted.
# Naming any permission REPLACES the default set, so contents: read has to
# be asked for — without it actions/checkout cannot read a private
# repository and fails with "Repository not found", which reads like the
# repo is gone rather than like a missing scope.
contents: read
# OIDC, which is what removes the need for an API token.
id-token: write
steps:
- uses: actions/checkout@v4
Expand Down
Loading