There was an error while loading. Please reload this page.
1 parent c182458 commit 889bba8Copy full SHA for 889bba8
1 file changed
.github/workflows/pre-release.yml
@@ -21,6 +21,9 @@ jobs:
21
pypi-publish:
22
name: Build dist & upload to PyPI
23
runs-on: ubuntu-latest
24
+ permissions:
25
+ id-token: write # mint the OIDC token PyPI trusted publishing verifies
26
+ contents: read # actions/checkout
27
if: ${{ github.actor == 'github-actions[bot]' || github.actor == 'ryanhill1' }}
28
steps:
29
- uses: actions/checkout@v4
@@ -54,6 +57,4 @@ jobs:
54
57
- name: Publish package to PyPI
55
58
uses: pypa/gh-action-pypi-publish@release/v1
56
59
with:
- user: __token__
- password: ${{ secrets.PYPI_API_TOKEN }}
60
packages-dir: ${{ steps.build-dev.outputs.dir }}
0 commit comments