From c11a86bbf3dd34f5c2b72f87c52ed6da4920f5a8 Mon Sep 17 00:00:00 2001 From: michalk8 <46717574+michalk8@users.noreply.github.com> Date: Wed, 8 Nov 2023 23:49:11 +0100 Subject: [PATCH] Use new PyPI trusted publisher management (#1138) * Use new PyPI trusted publisher management * Add forgotten on --- .github/workflows/deployment.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index 614182c66..2c5ac35a1 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -6,6 +6,9 @@ on: jobs: deploy: runs-on: ubuntu-latest + permissions: + id-token: write + environment: deployment steps: - uses: actions/checkout@v3 - name: Set up Python 3.10 @@ -24,7 +27,6 @@ jobs: - name: Publish package uses: pypa/gh-action-pypi-publish@release/v1 with: - password: ${{ secrets.PYPI_TOKEN }} skip-existing: true verify-metadata: true verbose: true