From d276e63d4ac4bc4e266958ae6b872f9c32a96c4f Mon Sep 17 00:00:00 2001 From: Diego Ferigo Date: Thu, 13 Jun 2024 09:18:11 +0200 Subject: [PATCH] Update CI/CD workflow to interface with PyPI as Trusted Publisher --- .github/workflows/ci_cd.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci_cd.yml b/.github/workflows/ci_cd.yml index a5f7e3e78..1ef3f5f33 100644 --- a/.github/workflows/ci_cd.yml +++ b/.github/workflows/ci_cd.yml @@ -144,6 +144,8 @@ jobs: name: Publish to PyPI needs: test runs-on: ubuntu-22.04 + permissions: + id-token: write steps: @@ -163,6 +165,4 @@ jobs: (github.event_name == 'release')) uses: pypa/gh-action-pypi-publish@release/v1 with: - user: __token__ - password: ${{ secrets.PYPI_TOKEN }} skip-existing: true