From 0f95bdfb3bd9de8459a6ff9e9a38e077aefdfe77 Mon Sep 17 00:00:00 2001 From: Trevor Manz Date: Sat, 9 Nov 2024 12:21:21 -0500 Subject: [PATCH] ci: Switch to Trusted Publishers (#154) --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf84af2..1bdb8c7 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -38,6 +38,9 @@ jobs: needs: [Lint, Test] runs-on: ubuntu-latest if: startsWith(github.ref, 'refs/tags') + permissions: + id-token: write + contents: read steps: - uses: actions/checkout@v4 - uses: astral-sh/setup-uv@v3 @@ -46,6 +49,3 @@ jobs: - run: uv build - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - user: ${{ secrets.PYPI_USERNAME }} - password: ${{ secrets.PYPI_PASSWORD }}