Skip to content

Commit 0f95bdf

Browse files
authored
ci: Switch to Trusted Publishers (#154)
1 parent add10c6 commit 0f95bdf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ jobs:
3838
needs: [Lint, Test]
3939
runs-on: ubuntu-latest
4040
if: startsWith(github.ref, 'refs/tags')
41+
permissions:
42+
id-token: write
43+
contents: read
4144
steps:
4245
- uses: actions/checkout@v4
4346
- uses: astral-sh/setup-uv@v3
@@ -46,6 +49,3 @@ jobs:
4649
- run: uv build
4750
- name: Publish distribution 📦 to PyPI
4851
uses: pypa/gh-action-pypi-publish@release/v1
49-
with:
50-
user: ${{ secrets.PYPI_USERNAME }}
51-
password: ${{ secrets.PYPI_PASSWORD }}

0 commit comments

Comments
 (0)