Skip to content

Commit 1c49fd3

Browse files
committed
Fix publish workflow: add id-token permission for PyPI OIDC
1 parent 28e29a7 commit 1c49fd3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/publish.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
runs-on: ubuntu-latest
1818
permissions:
1919
contents: write
20+
id-token: write
2021

2122
steps:
2223
- uses: actions/checkout@v4
@@ -74,6 +75,7 @@ jobs:
7475
with:
7576
password: ${{ secrets.PYPI_TOKEN }}
7677
print-hash: true
78+
skip-existing: true
7779

7880
- name: Commit version bump
7981
run: |

0 commit comments

Comments
 (0)