We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c449113 commit 8cc03eeCopy full SHA for 8cc03ee
.github/workflows/publish-pypi.yaml
@@ -5,7 +5,11 @@ on:
5
types: [ published ]
6
jobs:
7
pypi-release:
8
+ permissions:
9
+ # IMPORTANT: this permission is mandatory for trusted publishing
10
+ id-token: write
11
runs-on: ubuntu-latest
12
+ environment: pypi-release
13
steps:
14
- name: Checkout
15
uses: actions/checkout@v4
@@ -25,5 +29,3 @@ jobs:
25
29
26
30
- name: Publish the release artifacts to PyPI
27
31
uses: pypa/gh-action-pypi-publish@76f52bc884231f62b9a034ebfe128415bbaabdfc # pin@release/v1.12.4
28
- with:
- password: ${{ secrets.PYPI_API_TOKEN }}
0 commit comments