Skip to content

Commit

Permalink
pypi add permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
nextcaptcha committed Mar 14, 2024
1 parent d0ddbe2 commit 8f7cbe2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ name: Publish to PyPI
on: push
jobs:
build-n-publish:
permissions:
id-token: write
name: Build and publish to PyPI
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags')
runs-on: ubuntu-latest
Expand Down

0 comments on commit 8f7cbe2

Please sign in to comment.