We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4883ab4 commit 1722848Copy full SHA for 1722848
.github/workflows/release.yml
@@ -33,6 +33,10 @@ jobs:
33
34
release:
35
runs-on: ubuntu-latest
36
+ environment: release
37
+ permissions:
38
+ # IMPORTANT: this permission is mandatory for trusted publishing to pypi
39
+ id-token: write
40
needs: release-please
41
if: ${{ needs.release-please.outputs.release_created }}
42
container:
@@ -76,5 +80,3 @@ jobs:
76
80
77
81
- name: Publish a Python distribution to PyPI
78
82
uses: pypa/gh-action-pypi-publish@release/v1
79
- with:
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments