Skip to content

Commit 0561949

Browse files
committed
Add id-token: write permission to PyPI and TestPyPI workflows
1 parent 5fe3518 commit 0561949

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/publish-to-pypi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Publish Python 🐍 distributions 📦 to PyPI
22

3+
permissions:
4+
id-token: write # This is required for requesting the JWT
5+
36
on:
47
push:
58
tags:

.github/workflows/publish-to-test-pypi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
name: Publish Python 🐍 distributions 📦 to TestPyPI
22

3+
permissions:
4+
id-token: write # This is required for requesting the JWT
5+
36
on:
47
push:
58
tags:

0 commit comments

Comments
 (0)