Skip to content

Commit e319f4f

Browse files
committedFeb 13, 2025·
Add permissions.
1 parent 047d461 commit e319f4f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed
 

‎.github/workflows/build_and_publish.yaml

+4
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@ jobs:
3434
name: Upload to PyPI
3535
needs: [build_artifacts]
3636
runs-on: ubuntu-latest
37+
permissions:
38+
id-token: write
39+
contents: write
40+
environment: pypi
3741
if: github.event_name == 'release' && github.event.action == 'published'
3842
steps:
3943
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)