Skip to content

Commit

Permalink
Add id-token: write permission to publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
whimo committed Jul 5, 2024
1 parent 2aa188c commit 40cbf99
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,15 @@ permissions:
jobs:
publish:
runs-on: ubuntu-latest

permissions:
# This permission is used for trusted publishing:
# https://blog.pypi.org/posts/2023-04-20-introducing-trusted-publishers/
#
# Trusted publishing has to also be configured on PyPI for each package:
# https://docs.pypi.org/trusted-publishers/adding-a-publisher/
id-token: write

steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 40cbf99

Please sign in to comment.