Skip to content

Commit f8c0db7

Browse files
authored
Specify OIDC permissions and GitHub environment. (#56)
1 parent d750226 commit f8c0db7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/package.yml

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,10 @@ jobs:
3030
name: Upload to PyPI
3131
needs: [build]
3232
runs-on: ubuntu-latest
33+
permissions:
34+
id-token: write
35+
contents: write
36+
environment: pypi
3337
if: github.event_name == 'release' && github.event.action == 'published'
3438
steps:
3539
- uses: actions/download-artifact@v4

0 commit comments

Comments
 (0)