Skip to content

Commit

Permalink
Add permissions.
Browse files Browse the repository at this point in the history
  • Loading branch information
kklein committed Feb 13, 2025
1 parent 047d461 commit e319f4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/build_and_publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@ jobs:
name: Upload to PyPI
needs: [build_artifacts]
runs-on: ubuntu-latest
permissions:
id-token: write
contents: write
environment: pypi
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/download-artifact@v4
Expand Down

0 comments on commit e319f4f

Please sign in to comment.