Skip to content

Commit f7a8869

Browse files
committed
add the required id-token permission
1 parent ffc3abf commit f7a8869

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.github/workflows/python-publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ permissions:
1313
jobs:
1414
deploy:
1515
runs-on: ubuntu-latest
16+
environment: publish
17+
permissions:
18+
id-token: write
1619
steps:
1720
- uses: actions/checkout@v3
1821
- name: Set up Python
@@ -30,4 +33,4 @@ jobs:
3033
- name: Build package
3134
run: make build
3235
- name: Publish package
33-
uses: pypa/gh-action-pypi-publish@27b31702a0e7fc50959f5ad993c78deac1bdfc29
36+
uses: pypa/gh-action-pypi-publish@release/v1

0 commit comments

Comments
 (0)