From e5c255dae702c967a91865fd96991757d1eeb3d6 Mon Sep 17 00:00:00 2001 From: Ghislain Vaillant Date: Fri, 7 Jul 2023 10:18:25 +0200 Subject: [PATCH] CI: Release with PyPI's Trusted Publisher --- .github/workflows/publish.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index e355d3c..028bd7d 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -6,6 +6,7 @@ on: permissions: contents: read + id-token: write concurrency: group: ${{ github.workflow }}-${{ github.ref }} @@ -23,5 +24,3 @@ jobs: run: pipx run build - name: Publish to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }}