Skip to content

Commit 6109f72

Browse files
authored
Update python-publish.yml
1 parent ecf2adc commit 6109f72

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,10 @@ jobs:
1919
deploy:
2020
runs-on: ubuntu-latest
2121

22+
permissions:
23+
# IMPORTANT: this permission is mandatory for trusted publishing
24+
id-token: write
25+
2226
steps:
2327
- uses: actions/checkout@v3
2428
- name: Set up Python
@@ -33,6 +37,3 @@ jobs:
3337
run: python -m build
3438
- name: Publish package
3539
uses: pypa/gh-action-pypi-publish@release/v1
36-
with:
37-
user: __token__
38-
password: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)