From 948ea3e06efc127c4e0337d5ecc2f010f6ff6377 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Ricks?= Date: Thu, 25 Jan 2024 14:52:44 +0100 Subject: [PATCH] Change: Use trusted publisher upload for PyPI --- .github/workflows/deploy-pypi.yml | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/deploy-pypi.yml b/.github/workflows/deploy-pypi.yml index 5bf4985..5596586 100644 --- a/.github/workflows/deploy-pypi.yml +++ b/.github/workflows/deploy-pypi.yml @@ -6,9 +6,8 @@ on: jobs: deploy: - runs-on: ubuntu-latest - steps: - - name: Build and publish to PyPI - uses: greenbone/actions/pypi-upload@v3 - with: - pypi-token: ${{ secrets.PYPI_TOKEN }} + permissions: + id-token: write + uses: greenbone/workflows/.github/workflows/deploy-pypi.yml@main + with: + pypi-url: https://pypi.org/project/notus-scanner/