diff --git a/.github/workflows/python-wheels.yml b/.github/workflows/python-wheels.yml index ec9e1b92e..96044c61b 100644 --- a/.github/workflows/python-wheels.yml +++ b/.github/workflows/python-wheels.yml @@ -9,6 +9,11 @@ name: Build and publish python wheels # this workflow will publish the wheels to pypi. # If the version is already published, pypi just ignores it. + +permissions: + # This permission is required for trusted publishing on pypi + id-token: write + on: workflow_dispatch: push: @@ -74,4 +79,4 @@ jobs: uses: pypa/gh-action-pypi-publish@release/v1 with: verbose: true - skip-existing: true \ No newline at end of file + skip-existing: true