Skip to content

Commit bae8ff4

Browse files
authored
Add token permissions to release workflow. (pypa#192)
Required for trusted publishing.
1 parent fc8d83e commit bae8ff4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ on:
1111
jobs:
1212
build-and-publish:
1313
runs-on: ubuntu-latest
14+
permissions:
15+
# IMPORTANT: this permission is mandatory for trusted publishing
16+
id-token: write
1417
steps:
1518
- name: Checkout
1619
uses: actions/checkout@v3

0 commit comments

Comments
 (0)