Skip to content

Commit 9543de0

Browse files
committed
Added trusted publisher information to workflow file, which is a new requirement for pypi
1 parent 7b65192 commit 9543de0

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.github/workflows/ci.yaml

+3-2
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ jobs:
106106
needs: [builder_pypandoc, builder_pypandoc_binary]
107107
if: startsWith(github.ref, 'refs/tags/v')
108108
runs-on: ubuntu-latest
109+
permissions:
110+
id-token: write
109111
steps:
110112
- name: Check out repository
111113
uses: actions/checkout@v4
@@ -118,8 +120,7 @@ jobs:
118120
uses: pypa/gh-action-pypi-publish@release/v1
119121
with:
120122
verbose: true
121-
user: __token__
122-
password: ${{ secrets.PYPI_API_TOKEN }}
123+
123124

124125
publisher_latest:
125126
needs: [builder_pypandoc, builder_pypandoc_binary]

0 commit comments

Comments
 (0)