Skip to content

Commit d61644a

Browse files
committed
Fix CI - Add id-token permission to upload_pypi job
1 parent 3fbf2c7 commit d61644a

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
@@ -172,8 +172,10 @@ jobs:
172172
path: ./dist
173173

174174
upload_pypi:
175-
needs: [build]
175+
needs: [build, test]
176176
runs-on: ubuntu-latest
177+
permissions:
178+
id-token: write
177179

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

0 commit comments

Comments
 (0)