Skip to content

Commit b204306

Browse files
committed
ci: give release workflow write permission
- as stated here https://github.com/pypa/gh-action-pypi-publish?tab=readme-ov-file#trusted-publishing
1 parent b239d47 commit b204306

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

.github/workflows/release-linux.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,8 @@ jobs:
5858
release:
5959
needs: "build-wheel"
6060
runs-on: ubuntu-latest
61+
permissions:
62+
id-token: write
6163
steps:
6264
- uses: actions/checkout@v4
6365
- uses: actions/setup-python@v5

.github/workflows/release-osx-win.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,8 @@ jobs:
8888
release:
8989
needs: "build-wheel"
9090
runs-on: ubuntu-latest
91+
permissions:
92+
id-token: write
9193
steps:
9294
- uses: actions/checkout@v4
9395
- uses: actions/setup-python@v5

0 commit comments

Comments
 (0)