Skip to content

Commit c87eace

Browse files
committed
Fix id token permission for stage test-container action
1 parent f1b42d8 commit c87eace

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/python-package-develop.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,9 @@ jobs:
8282
test-container:
8383
runs-on: ubuntu-latest
8484
needs: ['build']
85+
permissions:
86+
# IMPORTANT: this permission is mandatory for trusted publishing
87+
id-token: write
8588
env:
8689
CONTAINER_IMAGE: "ghcr.io/${{ github.repository }}"
8790
steps:

0 commit comments

Comments
 (0)