Skip to content

Commit 651fe17

Browse files
committed
Fix CI - Add id-token permission to upload_pypi job
1 parent f97ab84 commit 651fe17

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,8 +180,10 @@ jobs:
180180
path: ./dist
181181

182182
upload_pypi:
183-
needs: [build]
183+
needs: [build, test]
184184
runs-on: ubuntu-latest
185+
permissions:
186+
id-token: write
185187

186188
# upload to PyPI only on release
187189
if: github.event.release && github.event.action == 'published'

0 commit comments

Comments
 (0)