Skip to content

Commit

Permalink
ci(pypi): add permissions in release-job
Browse files Browse the repository at this point in the history
  • Loading branch information
Zncl2222 committed Feb 13, 2024
1 parent bb16c8b commit fc72fe7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ jobs:

release-job:
runs-on: ubuntu-latest
permissions:
id-token: write
if: github.event_name == 'release' && github.event.action == 'published'
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit fc72fe7

Please sign in to comment.