From 10057e1d1cdf4bb5e106a0b12c243a37433960fa Mon Sep 17 00:00:00 2001 From: Andreas Maier Date: Wed, 9 Oct 2024 12:50:13 +0200 Subject: [PATCH] Fixed trusted publishing Signed-off-by: Andreas Maier --- .github/workflows/publish.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 8f7548a..b878939 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -168,6 +168,8 @@ jobs: ls -l dist - name: Publish distribution to PyPI if: startsWith(github.ref, 'refs/tags') + permissions: + id-token: write uses: pypa/gh-action-pypi-publish@release/v1 with: packages-dir: dist