Skip to content

Commit 79973ea

Browse files
authored
chore: use token for publishing (#47)
1 parent 54f4937 commit 79973ea

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

‎.github/workflows/release.yaml‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
environment:
1414
name: release
1515
permissions:
16-
id-token: write
16+
contents: read
1717
steps:
1818
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
1919
with:
@@ -25,4 +25,6 @@ jobs:
2525
version: "latest"
2626
- run: uv version "${GITHUB_REF_NAME}"
2727
- run: uv build
28-
- run: uv publish --trusted-publishing always --token "${secrets.PYPI_API_TOKEN}"
28+
- run: uv publish --trusted-publishing never # zizmor: ignore[use-trusted-publishing]
29+
env:
30+
UV_PUBLISH_TOKEN: ${{ secrets.PYPI_API_TOKEN }}

0 commit comments

Comments
 (0)