Skip to content

Commit 319bb78

Browse files
committed
权限
1 parent 3868436 commit 319bb78

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/publish-pypi.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
push:
55
tags:
66
- "v*.*.*"
7-
7+
permissions:
8+
id-token: write
89
jobs:
910
publish:
1011
name: Build and publish
@@ -27,5 +28,4 @@ jobs:
2728
- name: Publish to PyPI
2829
uses: pypa/gh-action-pypi-publish@release/v1
2930
with:
30-
user: __token__
31-
password: ${{ secrets.PYPI_API_TOKEN }}
31+
attestations: true

0 commit comments

Comments
 (0)