Skip to content

Commit

Permalink
Add trusted publisher permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
tillahoffmann committed Nov 15, 2024
1 parent dad46df commit 065a193
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
branches: ["main"]
workflow_dispatch:

# Needed for pypi using trusted publisher setup.
permissions:
id-token: write

env:
# Our tests may contain a number of stochastic elements. Setting a seed will make sure they are
# not flaky (but also hide potential issues).
Expand Down

0 comments on commit 065a193

Please sign in to comment.