Skip to content

Commit 799a044

Browse files
authored
Merge pull request #321 from prkumar/fix-publish
Set id-token: write permission for Trusted Publishing
2 parents 7464c20 + d6d2973 commit 799a044

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@ jobs:
3131
runs-on: ubuntu-latest
3232
if: github.event_name == 'push' && contains(github.ref, 'refs/tags/')
3333
environment: release
34+
permissions:
35+
# IMPORTANT: This is required to publish to PyPI using Trusted Publishing.
36+
# See: https://docs.pypi.org/trusted-publishers/using-a-publisher/
37+
id-token: write
3438

3539
steps:
3640
- name: Checkout repository

0 commit comments

Comments
 (0)