Skip to content

Commit 6b1e274

Browse files
committed
Add permissions for id-token in deploy job
1 parent 6fada80 commit 6b1e274

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/python_package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
runs-on: ubuntu-latest
6161
needs: [build_and_test, security]
6262
if: (github.event_name == 'release' && github.event.action == 'published' && needs.build_and_test.result == 'success' && needs.security.result == 'success') || inputs.run_deploy
63+
permissions:
64+
id-token: write
6365
steps:
6466
- uses: actions/checkout@v4
6567
- name: Set up Python

0 commit comments

Comments
 (0)